gst: make sure gobject-introspection scanner calls gst_init()
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 16 Apr 2011 12:34:08 +0000 (14:34 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 16 Apr 2011 12:34:41 +0000 (14:34 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=647922

gst/Makefile.am

index e185d53..b460fe8 100644 (file)
@@ -290,6 +290,7 @@ Gst-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstreamer-@GST_MAJORMINOR@
                --pkg gthread-2.0 \
                --pkg libxml-2.0 \
                --pkg-export gstreamer-0.10 \
+               --add-init-section="gst_init(NULL, NULL);" \
                --output $@ \
                $(gir_headers) \
                $(gir_sources)