How to publish an element as a particular factory type

Tim Müller tim at centricular.com
Tue Mar 10 11:41:04 UTC 2020


On Tue, 2020-03-10 at 04:27 -0500, deeps8us wrote:

> I have a gstreamer element which I want to discover through
> GST_ELEMENT_FACTORY_TYPE_PARSER. The element is present, how can I
> make it
> discover-able via 
> gst_element_factory_list_get_elements(
>       GST_ELEMENT_FACTORY_TYPE_PARSER, GST_RANK_NONE)

You add "Parser" as element factory classification string in your
gst_element_class_set_static_metadata() call.

Cheers
 Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list