[gst-devel] When am I Sometimes?

Sandeep Prakash 123sandy at gmail.com
Tue Jul 13 06:02:53 CEST 2010


Hi Wes,


Wes Miller wrote:
> 
> 
> How do I get the element class?  
> 
> 

You can get the element class as follows:
element = gst_element_factory_make ("qtdemux", "demuxer"); // for example
sake, has sometimes pad

GstElementClass *klass = G_OBJECT_GET_CLASS(element);

With this we can use 
GList*  gst_element_class_get_pad_template_list( GstElementClass
*element_class );
to get the pad template list, which will have sometimes pads also.

Regards,
Sandeep Prakash
-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/When-am-I-Sometimes-tp2286689p2286981.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list