mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-14 11:33:43 +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) {
|
if (us_device_release_buffer(stream->dev, ready_job->hw) < 0) {
|
||||||
goto close;
|
goto close;
|
||||||
}
|
}
|
||||||
|
ready_job->hw = NULL;
|
||||||
if (ready_wr->job_failed) {
|
if (ready_wr->job_failed) {
|
||||||
// pass
|
// pass
|
||||||
} else if (ready_wr->job_timely) {
|
} else if (ready_wr->job_timely) {
|
||||||
|
|||||||
Reference in New Issue
Block a user