mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:06:17 +00:00
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:
parent
ebed604ed8
commit
26393eba9d
2 changed files with 7 additions and 0 deletions
|
@ -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>
|
2006-07-03 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
* gst/gstelement.override:
|
* gst/gstelement.override:
|
||||||
|
|
|
@ -184,6 +184,7 @@ init_gst (void)
|
||||||
PyModule_AddIntConstant(m, "NSECOND", GST_NSECOND);
|
PyModule_AddIntConstant(m, "NSECOND", GST_NSECOND);
|
||||||
|
|
||||||
PyModule_AddObject(m, "CLOCK_TIME_NONE", PyLong_FromUnsignedLongLong(GST_CLOCK_TIME_NONE));
|
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);
|
pygst_exceptions_register_classes (d);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue