[Bug 656396] why gst_decode_bin_get_type static?

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 12 05:49:27 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=656396
  GStreamer | gst-plugins-base | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|                            |NOTABUG
   Target Milestone|HEAD                        |NONE

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-08-12 12:49:24 UTC ---
Only get_type() functions for public API / public classes/objects that you can
derive from are exported (ie. in libgst*-0.10.{so,dll,dylib}.

Plugins don't export any symbols other than a hook that allows GStreamer to
find the plugin init function.

If you want to get the GType of decodebin, you need to create one and use the
GObject API to get the GType from the object (or load the plugin and get the
GType via GstElementFactory). I'm not sure why you would need that though.

Some _get_type() function implementations are created via the GST_BOILERPLATE +
G_DEFINE_TYPE macros.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list