Commit 6f48c74f authored by Nicolas Dufresne's avatar Nicolas Dufresne
Browse files

v4l2videodec: Don't drain if processing thread is inactive

parent 2a7abc98
......@@ -288,7 +288,7 @@ gst_v4l2_video_dec_finish (GstVideoDecoder * decoder)
GstFlowReturn ret = GST_FLOW_OK;
GstBuffer *buffer;
if (!self->input_state)
if (!self->processing)
goto done;
GST_DEBUG_OBJECT (self, "Finishing decoding");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment