rtspsrc: Actually use the receive lock when receiving, not the send lock
This commit is contained in:
parent
5ff3106445
commit
c438545dc9
@ -2091,9 +2091,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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user