Commit 380be801 authored by Gregor Boirie's avatar Gregor Boirie Committed by Tim-Philipp Müller

rtsp-media: fix double unlock in _get_buffer_size()

Fixes an abort when calling gst_rtsp_media_get_buffer_size()
because of double g_mutex_unlock () usage.
parent 71ea0935
......@@ -1083,7 +1083,7 @@ gst_rtsp_media_get_buffer_size (GstRTSPMedia * media)
priv = media->priv;
g_mutex_unlock (&priv->lock);
g_mutex_lock (&priv->lock);
res = priv->buffer_size;
g_mutex_unlock (&priv->lock);
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