Commit 58b34197 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

gst/rtsp/gstrtspsrc.c: Activate pads before adding them to the source.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_transport):
Activate pads before adding them to the source.
parent 18d2ef2b
2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_transport):
Activate pads before adding them to the source.
2006-10-06 Wim Taymans <wim@fluendo.com>
* ext/dv/gstdvdemux.c: (gst_dvdemux_add_pads), (gst_dvdemux_chain):
......
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment