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

Hu, Gang A gang.a.hu at intel.com
Wed Dec 15 03:55:13 CET 2010


En, I am writing the source element for camerabin2. We can work together
in the future.
My currently plan is writing a GstCamBaseSrc inherited from GstElement.
But I think the most of the code should be same as the GstBaseSrc. I also need to
refer other element to know how to manage the pads.
The camera source element inherits from GstCamBaseSrc.
I will send out the first design later.
Thanks.

-----Original Message-----
From: Thiago Sousa Santos [mailto:thiago.sousa.santos at collabora.co.uk] 
Sent: Wednesday, December 15, 2010 9:20 AM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] Looking for multi-pads source element

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.

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