projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
687d43c
)
rtspsrc: Actually use the receive lock when receiving, not the send lock
author
Sebastian Dröge
<sebastian@centricular.com>
Thu, 22 Jun 2017 08:38:56 +0000
(11:38 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 4 Jul 2017 06:16:53 +0000
(09:16 +0300)
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
9ebccb3
..
9cd6388
100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-2075,9
+2075,9
@@
gst_rtspsrc_connection_receive (GstRTSPSrc * src, GstRTSPConnInfo * conninfo,
GstRTSPResult ret;
if (conninfo->connection) {
- g_mutex_lock (&conninfo->
send
_lock);
+ g_mutex_lock (&conninfo->
recv
_lock);
ret = gst_rtsp_connection_receive (conninfo->connection, message, timeout);
- g_mutex_unlock (&conninfo->
send
_lock);
+ g_mutex_unlock (&conninfo->
recv
_lock);
} else {
ret = GST_RTSP_ERROR;
}