projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac1d35b
)
rtsp-media: Fix mutex beeing unlocked while they should be locked
author
Steven Hoving
<sh@bigbrother.nl>
Thu, 28 Jan 2016 08:22:18 +0000
(09:22 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 28 Jan 2016 08:34:32 +0000
(09:34 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=761226
gst/rtsp-server/rtsp-media.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-media.c
b/gst/rtsp-server/rtsp-media.c
index 4013813b1e332aa9e111540d66e86e4b9d6e116c..90a9ddb2cf377aabe2efd2587675ed4c804ef4e7 100644
(file)
--- a/
gst/rtsp-server/rtsp-media.c
+++ b/
gst/rtsp-server/rtsp-media.c
@@
-1298,7
+1298,7
@@
gst_rtsp_media_get_retransmission_time (GstRTSPMedia * media)
priv = media->priv;
- g_mutex_
un
lock (&priv->lock);
+ g_mutex_lock (&priv->lock);
res = priv->rtx_time;
g_mutex_unlock (&priv->lock);
@@
-1348,7
+1348,7
@@
gst_rtsp_media_get_latency (GstRTSPMedia * media)
priv = media->priv;
- g_mutex_
un
lock (&priv->lock);
+ g_mutex_lock (&priv->lock);
res = priv->latency;
g_mutex_unlock (&priv->lock);
@@
-1396,7
+1396,7
@@
gst_rtsp_media_is_time_provider (GstRTSPMedia * media)
priv = media->priv;
- g_mutex_
un
lock (&priv->lock);
+ g_mutex_lock (&priv->lock);
res = priv->time_provider;
g_mutex_unlock (&priv->lock);