rtspsrc: don't send PAUSE when not connected
don't send a PAUSE request when we are no longer connected.
This commit is contained in:
parent
73fac6e4ea
commit
7782c9f890
@ -4858,7 +4858,7 @@ gst_rtspsrc_pause (GstRTSPSrc * src)
|
||||
GST_DEBUG_OBJECT (src, "connection is idle now");
|
||||
GST_RTSP_CONN_UNLOCK (src);
|
||||
|
||||
if (!src->connection)
|
||||
if (!src->connection || !src->connected)
|
||||
goto no_connection;
|
||||
|
||||
GST_DEBUG_OBJECT (src, "stop connection flush");
|
||||
|
Loading…
x
Reference in New Issue
Block a user