diff --git a/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c b/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c index 4dfdfe0c72..1cd0036508 100644 --- a/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c +++ b/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c @@ -9648,8 +9648,10 @@ gst_rtspsrc_change_state (GstElement * element, GstStateChange transition) if (rtspsrc->is_live) { /* send pause request and keep the idle task around */ gst_rtspsrc_loop_send_cmd (rtspsrc, CMD_PAUSE, CMD_LOOP); + ret = GST_STATE_CHANGE_NO_PREROLL; + } else { + ret = GST_STATE_CHANGE_SUCCESS; } - ret = GST_STATE_CHANGE_SUCCESS; break; case GST_STATE_CHANGE_PAUSED_TO_READY: rtspsrc->seek_seqnum = GST_SEQNUM_INVALID;