From 26393eba9dbfc8d43fdfe0c0970b00431859cf3d Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 5 Jul 2006 11:35:12 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ gst/gstmodule.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6ca6733c93..5061a79171 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-07-05 Edward Hervey + + * gst/gstmodule.c: (init_gst): + Added gst.BUFFER_OFFSET_NONE for proper (guint64) -1 conversion between + python and C. + 2006-07-03 Edward Hervey * gst/gstelement.override: diff --git a/gst/gstmodule.c b/gst/gstmodule.c index 167d28ad03..d8ae652828 100644 --- a/gst/gstmodule.c +++ b/gst/gstmodule.c @@ -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);