gst/gstmodule.c: Added gst.BUFFER_OFFSET_NONE for proper (guint64) -1 conversion between python and C.

Original commit message from CVS:
* gst/gstmodule.c: (init_gst):
Added gst.BUFFER_OFFSET_NONE for proper (guint64) -1 conversion between
python and C.
This commit is contained in:
Edward Hervey 2006-07-05 11:35:12 +00:00
parent ebed604ed8
commit 26393eba9d
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2006-07-05 Edward Hervey <edward@fluendo.com>
* gst/gstmodule.c: (init_gst):
Added gst.BUFFER_OFFSET_NONE for proper (guint64) -1 conversion between
python and C.
2006-07-03 Edward Hervey <edward@fluendo.com>
* gst/gstelement.override:

View file

@ -184,6 +184,7 @@ init_gst (void)
PyModule_AddIntConstant(m, "NSECOND", GST_NSECOND);
PyModule_AddObject(m, "CLOCK_TIME_NONE", PyLong_FromUnsignedLongLong(GST_CLOCK_TIME_NONE));
PyModule_AddObject(m, "BUFFER_OFFSET_NONE", PyLong_FromUnsignedLongLong(GST_BUFFER_OFFSET_NONE));
pygst_exceptions_register_classes (d);