[Bug 732633] New: Gst.CLOCK_TIME_NONE with Python3 leads to "Python int too large to convert to C long"
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Jul 2 08:18:25 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=732633
GStreamer | gst-python | git
Summary: Gst.CLOCK_TIME_NONE with Python3 leads to "Python int
too large to convert to C long"
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-python
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: slomo at coaxion.net
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753505
Hi,
The following test program in python works with python2 but fails with python3.
--
import gi
gi.require_version('Gst', '1.0')
from gi.repository import GObject, Gst
Gst.Pipeline().get_bus().poll(Gst.MessageType.ANY, Gst.CLOCK_TIME_NONE)
--
Output:
--
$ python3 t.py
Traceback (most recent call last):
File "t.py", line 5, in <module>
Gst.Pipeline().get_bus().poll(Gst.MessageType.ANY, Gst.CLOCK_TIME_NONE)
OverflowError: Python int too large to convert to C long
--
Thanks,
Alex
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list