[gst-devel] How to add a complicate property to an element

Stefan Kost ensonic at hora-obscura.de
Sat Jan 8 12:20:28 CET 2011


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