[gst-devel] Looking for multi-pads source element

Stefan Kost ensonic at hora-obscura.de
Wed Dec 15 16:01:49 CET 2010


Hi,
On 15.12.2010 03:19, Thiago Sousa Santos wrote:
> On Tue, 2010-12-14 at 18:08 +0800, Hu, Gang A wrote:
>> Hi
>> The basesrc only have one pad. I want to add another static pads to
>> basesrc.
>> Is there any source element which have more than one pads? I am
>> looking for such element for reference.
>> Thanks.
> I'm assuming you're interested in camerabin2 and its 3pad source. I've
> been drafting a base class for it lately. Maybe we could discuss and get
> this working together?
>
> I've been wondering if it would be good to inherit from GstBaseSrc or
> GstPushSrc and add more pads to it. But I prefer writing it from
> GstElement itself as we get more flexibility and won't be surprised by
> future changes for GstBaseSrc or GstPushSrc.
There is more need for a multi-pad basesrc - ladspa and lv2. This is the
main reason sources there don't really work. I once started copying code
from basesrc, but it becomes quite a copy'n'paste session :/ At some
point in one of my other lives I plan to look at this again.

Stefan

> The initial implementation is already on
> http://gitorious.org/gstreamer-camerabin2/gst-plugins-bad/commits/camerabin2
>
>>  
>> Best Regards!
>> Hu Gang
>>  
> --
> Thiago
>
>>  
>>  
>> ------------------------------------------------------------------------------
>> Lotusphere 2011
>> Register now for Lotusphere 2011 and learn how
>> to connect the dots, take your collaborative environment
>> to the next level, and enter the era of Social Business.
>> http://p.sf.net/sfu/lotusphere-d2d
>> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> ------------------------------------------------------------------------------
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list