GNOME Bugzilla – Bug 647922
[introspection] Needs to call gst_init() before anything else
Last modified: 2011-04-16 09:34:39 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 ;)
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?).
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