<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Regarding an example of a multiple source element, the Point Grey (now Flir) Ladybug cameras (360 cameras) produce 6 output images every frame.<br><br>Sent from my iPhone</div><div><br>On Apr 6, 2017, at 3:14 AM, Dimitrios Katsaros <<a href="mailto:patcherwork@gmail.com">patcherwork@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div><div>A bit more information on what you aim to do with such a base class would help in understanding why you need multiple src pads. Adding additional pads is possible, You can see how the base pad is created in gst_base_src_init. <br><br></div>However, in GStreamer sources are supposed to represent a single data source, thus providing a single output. if that data source contains multiple data types you usually demux it if you want to get the separate data streams. Can you give an example of a source that produces multiple data types that can not be reprisented by this model?<br><br></div>Dimitrios<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 6, 2017 at 7:58 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">I'm trying to rewrite the GstBaseSrc Class to add another src pad for derived<br>
class(for now GstBaseSrc only allow one src pad), any good idea about how to<br>
do this, guys?<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-tp4682539.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-tp4682539.<wbr>html</a><br>
Sent from the GStreamer-devel mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<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>
</blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>gstreamer-devel mailing list</span><br><span><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a></span><br><span><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></span><br></div></blockquote></body></html>