Commit 6be5331e authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

rtspsrc: Actually use the receive lock when receiving, not the send lock

parent 687d43c4
......@@ -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 {
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