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

Greg Wunder gwunder at eoir.com
Tue Mar 30 15:34:42 CEST 2010


That's my fault sorry.
Essentially I need to:

1) Obtain a GList of the current available plugins
2) Obtain a GList of the features of each plugin

This is to populate a GUI.
Let me know if more info is needed.

-----Original Message-----
From: Tim-Philipp Müller [mailto:t.i.m at zen.co.uk]
Sent: Tue 3/30/2010 9:20 AM
To: gstreamer-devel at lists.sourceforge.net
Subject: Re: [gst-devel] GList of features from a given GStreamer plugin??
 
On Tue, 2010-03-30 at 09:03 -0400, Greg Wunder wrote:

> In your example, how do I fill the "plugin" variable in
> "gst_plugin_get_name (plugin)"?

Oh, I assumed you had a GstPlugin * already (from e.g.
gst_default_registry_get_plugin_list()). If you just have a plugin name,
then you can do:

GstRegistry *registry;

registry = gst_registry_get_default ();

features = gst_registry_get_feature_list_by_plugin (registry,
     plugin_name);

directly of course (if that's also not what you're after, then you need
to explain a bit more what you want to do exactly).

Cheers
 -Tim


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100330/eb999a62/attachment.htm>


More information about the gstreamer-devel mailing list