pyges: link against pygst and use GstMiniObject
authorThibault Saunier <thibault.saunier@collabora.com>
Tue, 9 Aug 2011 15:16:44 +0000 (17:16 +0200)
committerThibault Saunier <thibault.saunier@collabora.com>
Thu, 11 Aug 2011 12:40:10 +0000 (14:40 +0200)
bindings/python/ges.override
bindings/python/gesmodule.c

index e1983ee..82eada7 100644 (file)
@@ -3,9 +3,11 @@
 headers
 #define NO_IMPORT_PYGOBJECT
 #include <pygobject.h>
+#include <pygst/pygst.h>
 
 #include <gst/gst.h>
 #include <ges/ges.h>
+#include <pygst/pygst.h>
 
 #include <glib.h>
 #include <pyglib.h>
index 35bddd7..fee7b7d 100644 (file)
@@ -5,6 +5,7 @@
 #include <Python.h>
 #include <pygobject.h>
 #include <pyglib.h>
+#include <pygst/pygst.h>
 
 /* include any extra headers needed here */
 
@@ -24,7 +25,9 @@ initges (void)
   d = PyModule_GetDict (m);
 
   init_pygobject ();
+  pygst_init ();
 
+  pygst_init ();
   pyges_register_classes (d);
 
   /* add anything else to the module dictionary (such as constants) */