diff --git a/ChangeLog b/ChangeLog index 778bd6dab7..8a3f408620 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-07 Tim-Philipp Müller + + * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_transport): + Activate pads before adding them to the source. + 2006-10-06 Wim Taymans * ext/dv/gstdvdemux.c: (gst_dvdemux_add_pads), (gst_dvdemux_chain): diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 70c6aa0756..f67ac46b70 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -851,6 +851,7 @@ gst_rtspsrc_stream_configure_transport (GstRTSPStream * stream, gst_pad_set_caps (stream->srcpad, stream->caps); stream->channelpad[0] = gst_object_ref (stream->srcpad); + gst_pad_set_active (stream->srcpad, TRUE); gst_element_add_pad (GST_ELEMENT_CAST (src), stream->srcpad); } else { GST_DEBUG_OBJECT (src, "using manager source pad"); @@ -952,6 +953,7 @@ gst_rtspsrc_stream_configure_transport (GstRTSPStream * stream, gst_object_unref (outpad); /* and add */ + gst_pad_set_active (stream->srcpad, TRUE); gst_element_add_pad (GST_ELEMENT_CAST (src), stream->srcpad); } /* mark pad as ok */