GNOME Bugzilla – Bug 108514
gst_[typename]_get_type() functions missing for boxed types
Last modified: 2004-12-22 21:47:04 UTC
To support for easy creation of language bindings, things in gstreamer should be "GTK+-like". E.g. for the c++ language bindings we are using a semi-automatic wrapper tool from gtkmm (gtkmmproc). This tool makes assumptions about the GType API of the wrapped structures. The problem is that all gstreamer boxed types are currently missing the function gst_[typename]_get_type(). E.g. there is no gst_caps_get_type() or gst_props_get_type(). Instead, there are macros to access the GType objects which we can't use without changing gtkmmproc. To match GTK+'s boxed-type-API I suggest adding the functions gst_caps_get_type(), gst_props_get_type(), etc. Patches adding these functions will be attached gradually.
Created attachment 15057 [details] [review] props_get_type.diff: Rename gst_props_entry_get_type() -> gst_props_entry_get_props_type() and add gst_props_get_type(), gst_props_entry_get_type()
Created attachment 15058 [details] [review] caps_get_type.diff: Add gst_caps_get_type()
Patch applied to head branch