mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-02-27 04:06:30 +00:00
stream: null hw buffer pointer after encoding
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user