mirror of
https://github.com/pikvm/ustreamer.git
synced 2025-12-23 18:50:00 +00:00
stream: null hw buffer pointer after encoding
This commit is contained in:
parent
ff08a0fb25
commit
85308e48fd
@ -104,6 +104,7 @@ void us_stream_loop(us_stream_s *stream) {
|
||||
if (us_device_release_buffer(stream->dev, ready_job->hw) < 0) {
|
||||
goto close;
|
||||
}
|
||||
ready_job->hw = NULL;
|
||||
if (ready_wr->job_failed) {
|
||||
// pass
|
||||
} else if (ready_wr->job_timely) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user