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 647922 - [introspection] Needs to call gst_init() before anything else
[introspection] Needs to call gst_init() before anything else
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal blocker
: 0.10.33
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-16 07:28 UTC by Sebastian Dröge (slomo)
Modified: 2011-04-16 09:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2011-04-16 07:28:12 UTC
I'm sure we had this at some point but the call to gst_init() by g-ir-scanner is gone again. Adding this to Makefile.am everywhere (same things might be needed additionally for other libraries that require iniialization, e.g. controller) fixes the build of the 0.11 introspection and won't hurt for 0.10 either.

--add-init-section="gst_init(NULL, NULL);"

IMHO we should add this everywhere (again) ASAP ;)
Comment 1 Tim-Philipp Müller 2011-04-16 09:28:54 UTC
Ack. I only remember fixing this for -base for 0.11, not sure why it wasn't needed for core as well (maybe Wim disabled g-i in configure.ac there?).
Comment 2 Tim-Philipp Müller 2011-04-16 09:34:39 UTC
commit 62d0001c844e95c38d10300181f2d478fd956af8
Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Sat Apr 16 10:33:21 2011 +0100

    libs: make sure gobject-introspection scanner calls gst_init()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=647922