v4l2videodec: Don't unlock the stream lock twice
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 6 Jan 2015 18:54:25 +0000 (13:54 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 9 Jan 2015 21:55:55 +0000 (16:55 -0500)
sys/v4l2/gstv4l2videodec.c

index 0ce3b32..cd27776 100644 (file)
@@ -269,7 +269,7 @@ gst_v4l2_video_dec_flush (GstVideoDecoder * decoder)
     gst_v4l2_object_unlock (self->v4l2output);
     gst_v4l2_object_unlock (self->v4l2capture);
     gst_pad_stop_task (decoder->srcpad);
-    GST_VIDEO_DECODER_STREAM_UNLOCK (decoder);
+    GST_VIDEO_DECODER_STREAM_LOCK (decoder);
   }
 
   self->output_flow = GST_FLOW_OK;