After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 571832 - [API] add gst_plugin_feature_get_plugin_name()
[API] add gst_plugin_feature_get_plugin_name()
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-02-15 14:32 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2012-10-28 15:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefan Sauer (gstreamer, gtkdoc dev) 2009-02-15 14:32:17 UTC
struct _GstPluginFeature has a member plugin_name which is marked as private. Imho thats the only way to get from a plugin feature back to the plugin. I would like to make it public either via,

1.) mark it as public (people already access the field anyway)
2.) add const gchar* gst_plugin_feature_get_plugin_name(GstPluginFeature*)
3.) add gobject properties for rank,name and plugin-name (plugin-name will be read-only).

Any opinions?
Comment 1 Sebastian Dröge (slomo) 2011-05-20 05:36:39 UTC
There's also a private plugin member now. I'd vote for 2) to get the plugin and plugin_name.
Comment 2 Tim-Philipp Müller 2012-10-28 15:59:20 UTC
commit bab8ed6b8a407f6aef896bb87cda2edb0cb7a234
Author: Tim-Philipp Müller <tim@centricular.net>
Date:   Sun Oct 28 15:53:19 2012 +0000

    pluginfeature: add gst_plugin_feature_get_plugin_name()
    
    API: gst_plugin_feature_get_plugin_name()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=571832