mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
rtpmux: Set pads active when adding them to a potentially running element
20070706202459-3e2dc-a3731f885725594def0a7be997fc7b3a739ee967.gz
This commit is contained in:
parent
1c5075f927
commit
dd13f7c8ef
1 changed files with 2 additions and 0 deletions
|
@ -284,6 +284,8 @@ gst_rtp_mux_setup_sinkpad (GstRTPMux * rtp_mux, GstPad * sinkpad)
|
||||||
if (klass->sink_event_func)
|
if (klass->sink_event_func)
|
||||||
gst_pad_set_event_function (sinkpad, 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 */
|
/* dd the pad to the element */
|
||||||
gst_element_add_pad (GST_ELEMENT (rtp_mux), sinkpad);
|
gst_element_add_pad (GST_ELEMENT (rtp_mux), sinkpad);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue