Getting the element factory name.
sameer.subscriptions at damagehead.com
Fri Jun 3 08:31:13 PDT 2011
I am using the gstreamer-0.10.34. I would like to know how do i get
the name of an element factory.
I create an element, say
element = gst_element_factory_make ("queue2", NULL);
factory = gst_element_get_factory (element);
I need to query the factory such that it return "queue2" as its name.
In an earlier release of gstreamer i used to call:
factoryname = GST_ELEMENT_NAME (factory);
And i would get the factoryname as "queue2". But in the 0.10.34
release it returns "elementfactoryXXX", where XXX is a random number.
I am writing a function to return a reference to am element belonging
to a particular factory.
Thanks and Regards
More information about the gstreamer-devel