summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gst/rtsp/gstrtspsrc.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 778bd6da..8a3f4086 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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):
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 70c6aa07..f67ac46b 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 */