diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-06-12 17:30:06 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-06-12 17:30:06 +0000 |
commit | 8d901b4bfcabec20f78dab49a2b5211afd52c49a (patch) | |
tree | a13350e131324833e1eb3bf7b08c9487cb1e5736 /gst/rtsp | |
parent | 8fc46085b319c00582dd2c7d3b7550cc2a5d8057 (diff) |
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.
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; |