Commit 905f1388 authored by George Kiagiadakis's avatar George Kiagiadakis
Browse files

gstvideodecoder: Unlock the stream lock when pushing buffers downstream

https://bugzilla.gnome.org/show_bug.cgi?id=715192
parent 1867c079
...@@ -2582,7 +2582,11 @@ gst_video_decoder_clip_and_push_buf (GstVideoDecoder * decoder, GstBuffer * buf) ...@@ -2582,7 +2582,11 @@ gst_video_decoder_clip_and_push_buf (GstVideoDecoder * decoder, GstBuffer * buf)
if (G_UNLIKELY (priv->error_count)) if (G_UNLIKELY (priv->error_count))
priv->error_count = 0; priv->error_count = 0;
GST_PAD_STREAM_LOCK (decoder->srcpad);
GST_VIDEO_DECODER_STREAM_UNLOCK (decoder);
ret = gst_pad_push (decoder->srcpad, buf); ret = gst_pad_push (decoder->srcpad, buf);
GST_VIDEO_DECODER_STREAM_LOCK (decoder);
GST_PAD_STREAM_UNLOCK (decoder->srcpad);
done: done:
return ret; return ret;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment