diff options
Diffstat (limited to 'gst/rtsp')
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 68c4fbea..12e941e1 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -1935,7 +1935,7 @@ gst_rtspsrc_stream_configure_mcast (GstRTSPSrc * src, GstRTSPStream * stream, gst_object_sink (stream->udpsrc[0]); /* change state */ - gst_element_set_state (stream->udpsrc[0], GST_STATE_READY); + gst_element_set_state (stream->udpsrc[0], GST_STATE_PAUSED); } /* creating another UDP source */ @@ -1951,7 +1951,7 @@ gst_rtspsrc_stream_configure_mcast (GstRTSPSrc * src, GstRTSPStream * stream, gst_object_ref (stream->udpsrc[1]); gst_object_sink (stream->udpsrc[1]); - gst_element_set_state (stream->udpsrc[1], GST_STATE_READY); + gst_element_set_state (stream->udpsrc[1], GST_STATE_PAUSED); } return TRUE; |