[gst-devel] How to add a complicate property to an element
Hu, Gang A
gang.a.hu at intel.com
Sat Jan 8 13:04:48 CET 2011
Stefan.
Thanks for your suggestion. I would like to keep the property list small.
As composited property is not common in GStreamer, adding 5 property for the
Windows settings maybe a good choice right now.
Thanks.
-----Original Message-----
From: Stefan Kost [mailto:ensonic at hora-obscura.de]
Sent: Saturday, January 08, 2011 7:20 PM
To: Discussion of the development of GStreamer
Cc: Hu, Gang A
Subject: Re: [gst-devel] How to add a complicate property to an element
Am 01.01.2011 04:52, schrieb Hu, Gang A:
> Hi,
> I want to add a property to a camera source element. This property contains five
> field. How can create this property with one property id and extract it?
> For example, to add the ae_windows property to the v4l2src, the user can use the
> command
> gst-launch v4l2src ae_windows="width=49, height=60, centerx=20, centery=30,
> weight=3" ! xvimagesink.
> to specify the ae_windows.
While you could define your own gparamspec type, i would sugest you to simply
add 4 properties instead. Please use a descriptive name so that people won't
have to guess what "ae" stands for.
Stefan
> Thanks.
>
>
>
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
>
>
>
> _______________________________________________
> 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