diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2014-03-11 14:01:27 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2014-05-08 15:56:35 -0400 |
commit | 6f48c74f2a3997a55b22e6575c495be0cad7d3a8 (patch) | |
tree | 177f13e5e254a100f579620a4b5ff67f1124c8b4 /sys/v4l2/gstv4l2videodec.c | |
parent | 2a7abc98dbd5a184dd83c57370c690436040fdec (diff) |
v4l2videodec: Don't drain if processing thread is inactive
Diffstat (limited to 'sys/v4l2/gstv4l2videodec.c')
-rw-r--r-- | sys/v4l2/gstv4l2videodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2videodec.c b/sys/v4l2/gstv4l2videodec.c index d18b4b0b1..6d367fc2c 100644 --- a/sys/v4l2/gstv4l2videodec.c +++ b/sys/v4l2/gstv4l2videodec.c @@ -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"); |