diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2015-01-06 13:54:25 -0500 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2015-03-02 15:20:09 -0500 |
commit | 54cae21e0e15e871ceec6e7fcdc502727cafaf76 (patch) | |
tree | 79063e85b2084cc74faaae01644ee6206eaf0d24 | |
parent | 2e125b6f5b74f5faa45763355570f74f286e6957 (diff) |
v4l2videodec: Don't unlock the stream lock twice
-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 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; |