summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2015-01-06 13:54:25 -0500
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2015-03-02 15:20:09 -0500
commit54cae21e0e15e871ceec6e7fcdc502727cafaf76 (patch)
tree79063e85b2084cc74faaae01644ee6206eaf0d24
parent2e125b6f5b74f5faa45763355570f74f286e6957 (diff)
v4l2videodec: Don't unlock the stream lock twice
-rw-r--r--sys/v4l2/gstv4l2videodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2videodec.c b/sys/v4l2/gstv4l2videodec.c
index c81f0aa6a..c0fbebc58 100644
--- a/sys/v4l2/gstv4l2videodec.c
+++ b/sys/v4l2/gstv4l2videodec.c
@@ -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;