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 545787 - [API] add gst_plugin_register_static_full() for bindings
[API] add gst_plugin_register_static_full() for bindings
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: 0.10.24
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-01 02:20 UTC by José Alburquerque
Modified: 2009-05-07 14:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Patch to include a gst_plugin_register_static_full() function in GstPlugin (8.15 KB, patch)
2008-08-01 02:21 UTC, José Alburquerque
committed Details | Review

Description José Alburquerque 2008-08-01 02:20:49 UTC
Would it be possible to include a gst_plugin_register_static_full() with a user_data (gpointer) parameter in GstPlugin.  Some users are wondering if it will be possible to register static plugins in applications using the c++ bindings.  If we can manage to wrap base classes such as GstBaseTransform, etc. (which is underway as we speak), I'm thinking that this may be possible.  A patch that I think would work well in this situation for c++ bindings and I think would leave your API binary and ABI stable follows.
Comment 1 José Alburquerque 2008-08-01 02:21:55 UTC
Created attachment 115652 [details] [review]
Patch to include a gst_plugin_register_static_full() function in GstPlugin
Comment 2 Sebastian Dröge (slomo) 2009-05-07 14:40:31 UTC
Thanks, I've added some "Since: 0.10.24" markers to the docs and will push this after core is released.

commit 2068e9ab6d493df9e2719953afb0e3dd4403dff2
Author: José Alburquerque <jaalburqu@svn.gnome.org>
Date:   Thu May 7 16:37:37 2009 +0200

    API: Add gst_plugin_register_static_full()
    
    This is mainly useful for bindings that need to provide
    some additional user data to the registration function.
    
    Fixes bug #545787.