From 8d901b4bfcabec20f78dab49a2b5211afd52c49a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 12 Jun 2008 17:30:06 +0000 Subject: gst/rtsp/gstrtspsrc.c: Set udpsrc for receiving data from multicast groups to PAUSED instead of leaving them in READY... Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_mcast): Set udpsrc for receiving data from multicast groups to PAUSED instead of leaving them in READY. Fixes #537832. --- gst/rtsp/gstrtspsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/rtsp/gstrtspsrc.c') 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; -- cgit