<div dir="ltr"><div>Again, I would suggest against that. If you want to make a "tee" like source I would go for a bin that contains the source and tee elements and handling request pads on the bin level. It is simple enough to just create a ghost pad and link it to a pad requested from the tee. keep in mind that if you modify the base you will then have to implement the element logic on top of the base you built. And more importantly, why reinvent the wheel when you already have elements that have been built to handle this case, have been rigorously tested and you can get support for when something doesn't work.<br><br></div>Dimitrios<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 7, 2017 at 6:11 AM, caoxi <span dir="ltr"><<a href="mailto:xi.cao@intel.com" target="_blank">xi.cao@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Generally, my purpose is to make my source plugin to have the same function<br>
as Tee element, that the source element can have several active pads(whether<br>
always pad or request pad), and I've already made a design, all I need is to<br>
rewrite GstBaseSrc and GstPushSrc, I'll try if my design works~<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/is-it-possible-to-add-another-src-pad-in-GstBaseSrc-class-tp4682539p4682565.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/is-it-possible-<wbr>to-add-another-src-pad-in-<wbr>GstBaseSrc-class-<wbr>tp4682539p4682565.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</div></div></blockquote></div><br></div></div></div>