is it possible to add another src pad in GstBaseSrc class?

Andrew Grace apenngrace at gmail.com
Thu Apr 6 07:26:06 UTC 2017


Regarding an example of a multiple source element, the Point Grey (now Flir) Ladybug cameras (360 cameras) produce 6 output images every frame.

Sent from my iPhone

> On Apr 6, 2017, at 3:14 AM, Dimitrios Katsaros <patcherwork at gmail.com> wrote:
> 
> 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. 
> 
> 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?
> 
> Dimitrios
> 
>> On Thu, Apr 6, 2017 at 7:58 AM, caoxi <xi.cao at intel.com> wrote:
>> I'm trying to rewrite the GstBaseSrc Class to add another src pad for derived
>> class(for now GstBaseSrc only allow one src pad), any good idea about how to
>> do this, guys?
>> 
>> 
>> 
>> --
>> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/is-it-possible-to-add-another-src-pad-in-GstBaseSrc-class-tp4682539.html
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170406/b9b00b54/attachment.html>


More information about the gstreamer-devel mailing list