diff options
author | Olivier Crete <olivier.crete@collabora.co.uk> | 2007-07-06 20:24:59 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-21 17:48:54 +0100 |
commit | 76fb00c0b17620ffbd1d5d26ddca7e2eb2208a38 (patch) | |
tree | 238617bb93c2c34ce3ec98a1ff31256f4287dee8 /gst/rtpmux | |
parent | 6750edd1d8a99cffe53389706d6afef426ed1a0f (diff) | |
download | gst-plugins-bad-76fb00c0b17620ffbd1d5d26ddca7e2eb2208a38.tar.gz gst-plugins-bad-76fb00c0b17620ffbd1d5d26ddca7e2eb2208a38.tar.bz2 gst-plugins-bad-76fb00c0b17620ffbd1d5d26ddca7e2eb2208a38.zip |
[MOVED FROM GST-P-FARSIGHT] Set pads active when adding them to a potentially running element
20070706202459-3e2dc-a3731f885725594def0a7be997fc7b3a739ee967.gz
Diffstat (limited to 'gst/rtpmux')
-rw-r--r-- | gst/rtpmux/gstrtpmux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c index ebc0a55d..9ceedb6e 100644 --- a/gst/rtpmux/gstrtpmux.c +++ b/gst/rtpmux/gstrtpmux.c @@ -284,6 +284,8 @@ gst_rtp_mux_setup_sinkpad (GstRTPMux * rtp_mux, GstPad * sinkpad) if (klass->sink_event_func) gst_pad_set_event_function (sinkpad, klass->sink_event_func); + gst_pad_set_active (sinkpad, TRUE); + /* dd the pad to the element */ gst_element_add_pad (GST_ELEMENT (rtp_mux), sinkpad); } |