mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue