From: Olivier Crete Date: Fri, 6 Jul 2007 20:24:59 +0000 (+0000) Subject: rtpmux: Set pads active when adding them to a potentially running element X-Git-Tag: 1.19.3~509^2~6266 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd13f7c8ef9df9128ec65b8d80402e88072cc7eb;p=platform%2Fupstream%2Fgstreamer.git rtpmux: Set pads active when adding them to a potentially running element 20070706202459-3e2dc-a3731f885725594def0a7be997fc7b3a739ee967.gz --- diff --git a/gst/rtpmanager/gstrtpmux.c b/gst/rtpmanager/gstrtpmux.c index dbedfda..e83b165 100644 --- a/gst/rtpmanager/gstrtpmux.c +++ b/gst/rtpmanager/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); }