mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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.
This commit is contained in:
parent
18d2ef2b0e
commit
58b341970f
2 changed files with 7 additions and 0 deletions
|
@ -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>
|
2006-10-06 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* ext/dv/gstdvdemux.c: (gst_dvdemux_add_pads), (gst_dvdemux_chain):
|
* 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);
|
gst_pad_set_caps (stream->srcpad, stream->caps);
|
||||||
|
|
||||||
stream->channelpad[0] = gst_object_ref (stream->srcpad);
|
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);
|
gst_element_add_pad (GST_ELEMENT_CAST (src), stream->srcpad);
|
||||||
} else {
|
} else {
|
||||||
GST_DEBUG_OBJECT (src, "using manager source pad");
|
GST_DEBUG_OBJECT (src, "using manager source pad");
|
||||||
|
@ -952,6 +953,7 @@ gst_rtspsrc_stream_configure_transport (GstRTSPStream * stream,
|
||||||
gst_object_unref (outpad);
|
gst_object_unref (outpad);
|
||||||
|
|
||||||
/* and add */
|
/* and add */
|
||||||
|
gst_pad_set_active (stream->srcpad, TRUE);
|
||||||
gst_element_add_pad (GST_ELEMENT_CAST (src), stream->srcpad);
|
gst_element_add_pad (GST_ELEMENT_CAST (src), stream->srcpad);
|
||||||
}
|
}
|
||||||
/* mark pad as ok */
|
/* mark pad as ok */
|
||||||
|
|
Loading…
Reference in a new issue