Commit d514bfe2 authored by Steven Hoving's avatar Steven Hoving Committed by Tim-Philipp Müller

rtsp-media: Fix mutex beeing unlocked while they should be locked

https://bugzilla.gnome.org/show_bug.cgi?id=761226
parent 0230722c
......@@ -1217,7 +1217,7 @@ gst_rtsp_media_get_retransmission_time (GstRTSPMedia * media)
priv = media->priv;
g_mutex_unlock (&priv->lock);
g_mutex_lock (&priv->lock);
res = priv->rtx_time;
g_mutex_unlock (&priv->lock);
......@@ -1267,7 +1267,7 @@ gst_rtsp_media_get_latency (GstRTSPMedia * media)
priv = media->priv;
g_mutex_unlock (&priv->lock);
g_mutex_lock (&priv->lock);
res = priv->latency;
g_mutex_unlock (&priv->lock);
......@@ -1315,7 +1315,7 @@ gst_rtsp_media_is_time_provider (GstRTSPMedia * media)
priv = media->priv;
g_mutex_unlock (&priv->lock);
g_mutex_lock (&priv->lock);
res = priv->time_provider;
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