[gst-cvs] gst-python: pygst: Get the _PyGst_API symbol from the proper module

Edward Hervey bilboed at kemper.freedesktop.org
Tue Nov 9 04:55:15 PST 2010


Module: gst-python
Branch: master
Commit: ee647847f33186e57b6fb3d47409dde9b55b9284
URL:    http://cgit.freedesktop.org/gstreamer/gst-python/commit/?id=ee647847f33186e57b6fb3d47409dde9b55b9284

Author: Edward Hervey <bilboed at bilboed.com>
Date:   Tue Nov  9 10:57:31 2010 +0100

pygst: Get the _PyGst_API symbol from the proper module

https://bugzilla.gnome.org/show_bug.cgi?id=634365

---

 gst/pygst.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/pygst.h b/gst/pygst.h
index 36bcd75..01f7179 100644
--- a/gst/pygst.h
+++ b/gst/pygst.h
@@ -52,7 +52,7 @@ pygst_init(void)
 {
   PyObject *gstobject, *cobject;
 
-  gstobject = PyImport_ImportModule("_gst");
+  gstobject = PyImport_ImportModule("gst._gst");
   if (!gstobject) {
     if (PyErr_Occurred())
       {





More information about the Gstreamer-commits mailing list