v4l2videodec: Don't unlock the stream lock twice

This commit is contained in:
Nicolas Dufresne 2015-01-06 13:54:25 -05:00
parent 3e0be85840
commit c4aaff5c92

View 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;