[gst-devel] List All Properties of an Element

Thg. thiagossantos at gmail.com
Tue Nov 30 15:19:45 CET 2010


On Tue, Nov 30, 2010 at 11:02 AM, Wes Miller <wmiller at sdr.com> wrote:

>
> Hi All,
>
> Is there a way to list all the readable, writeable or both properties for a
> specific element?  For example, a call that returns something like a
> GParamSpec that lists the type and name for all the properties of
> ffenc_aac?
>
> I assume this requires a call to either g_object_class_list_properties ()
> or
> g_object_interface_list_properties().  What is not completely clear is
> whether gst elements, i.e. ffenc_aac or filesrc or whatever, are object
> class names as defined by these two calls and whether the gst properties
> are
> class or interface properties.  Do I need something (what?) to get the
> object class from an instance of a gst element?
>
> GParamSpec**    g_object_class_list_properties( GObjectClass *oclass, guint
> *n_properties );
>
> Thanks for any help.  This is for a debug routine that I'll happily share
> if
> I get it working.
>

I haven't done this myself, but I suppose gst-inspect in gstreamer/tools
should have code to do this. You could start checking it.


>
> Wes
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/List-All-Properties-of-an-Element-tp3065421p3065421.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Thiago Sousa Santos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101130/406ff411/attachment.htm>


More information about the gstreamer-devel mailing list