diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-10-07 21:15:40 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-10-07 21:15:40 +0000 |
commit | 58b341970fd8af2dbeec433a0953497d48a36273 (patch) | |
tree | c7c375a42b710b85e0ebac5345411b24ae9c03b0 /gst | |
parent | 18d2ef2b0e734b1c0b9cdd141c83c199a5b69507 (diff) |
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.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |