gst-editing-services: bindings: Register the various enums/flags in python

Thibault Saunier tsaunier at kemper.freedesktop.org
Wed Jan 11 07:04:34 PST 2012


Module: gst-editing-services
Branch: master
Commit: 28904476f81d222f9032222cd3a994826ac9739c
URL:    http://cgit.freedesktop.org/gstreamer/gst-editing-services/commit/?id=28904476f81d222f9032222cd3a994826ac9739c

Author: Thibault Saunier <thibault.saunier at collabora.com>
Date:   Thu Dec 22 14:41:39 2011 +0100

bindings: Register the various enums/flags in python

---

 bindings/python/gesmodule.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/bindings/python/gesmodule.c b/bindings/python/gesmodule.c
index 3263d4e..f7fc633 100644
--- a/bindings/python/gesmodule.c
+++ b/bindings/python/gesmodule.c
@@ -11,6 +11,7 @@
 
 void pyges_register_classes (PyObject * d);
 extern PyMethodDef pyges_functions[];
+void pyges_add_constants (PyObject * module, const gchar * strip_prefix);
 DL_EXPORT (void)
 initges (void);
 
@@ -29,6 +30,7 @@ initges (void)
 
   pygst_init ();
   pyges_register_classes (d);
+  pyges_add_constants (m, "GES_");
 
   /* add anything else to the module dictionary (such as constants) */
 



More information about the gstreamer-commits mailing list