mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-08 23:42:28 +00:00
v4l2videodec: Don't drain if processing thread is inactive
This commit is contained in:
parent
2a7abc98db
commit
6f48c74f2a
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ gst_v4l2_video_dec_finish (GstVideoDecoder * decoder)
|
||||||
GstFlowReturn ret = GST_FLOW_OK;
|
GstFlowReturn ret = GST_FLOW_OK;
|
||||||
GstBuffer *buffer;
|
GstBuffer *buffer;
|
||||||
|
|
||||||
if (!self->input_state)
|
if (!self->processing)
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (self, "Finishing decoding");
|
GST_DEBUG_OBJECT (self, "Finishing decoding");
|
||||||
|
|
Loading…
Reference in a new issue