[gst-devel] GList of features from a given GStreamer plugin??

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Mar 30 11:42:50 CEST 2010


On Mon, 2010-03-29 at 16:11 -0400, Greg Wunder wrote:

> How do I obtain a list of list of features per plugin for the current
> version of GStreamer?
> I was hoping to get a GList object back from a function call if
> possible?

Something like this should work:

GstRegistry *registry;
GList *features;

registry = gst_registry_get_default ();
features = gst_registry_get_feature_list_by_plugin (registry,
    gst_plugin_get_name (plugin));

....

gst_plugin_feature_list_free (features);

 Cheers
  -Tim






More information about the gstreamer-devel mailing list