From: <bi...@fr...> - 2005-11-21 18:59:05
|
CVS Root: /cvs/gstreamer Module: gst-python Changes by: bilboed Date: Mon Nov 21 2005 10:59:02 PST Log message: * gst/gst.override: (_wrap_GST_TIME_ARGS): Take either int or longs and return unsigned long long Modified files: . : ChangeLog gst : gst.override Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/ChangeLog.diff?r1=1.353&r2=1.354 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/gst/gst.override.diff?r1=1.87&r2=1.88 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-python/ChangeLog,v retrieving revision 1.353 retrieving revision 1.354 diff -u -d -r1.353 -r1.354 --- ChangeLog 21 Nov 2005 18:48:19 -0000 1.353 +++ ChangeLog 21 Nov 2005 18:58:49 -0000 1.354 @@ -1,5 +1,10 @@ 2005-11-21 Edward Hervey <ed...@fl...> + * gst/gst.override: (_wrap_GST_TIME_ARGS): + Take either int or longs and return unsigned long long + +2005-11-21 Edward Hervey <ed...@fl...> * examples/gstfile.py: Cleanup * gst/gst-types.defs: Index: gst.override RCS file: /cvs/gstreamer/gst-python/gst/gst.override,v retrieving revision 1.87 retrieving revision 1.88 diff -u -d -r1.87 -r1.88 --- gst.override 18 Nov 2005 16:26:05 -0000 1.87 +++ gst.override 21 Nov 2005 18:58:50 -0000 1.88 @@ -850,9 +850,9 @@ gchar *ret; guint64 time; - if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O!:time_to_string", kwlist, &PyLong_Type, &py_time)) + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:time_to_string", kwlist, &py_time)) return NULL; - time = PyLong_AsUnsignedLongLong(py_time); + time = PyInt_AsUnsignedLongLongMask(py_time); ret = g_strdup_printf("%"GST_TIME_FORMAT, GST_TIME_ARGS(time)); if (!ret) { |