[Bug 732633] Gst.MessageType.ANY with Python3 leads to "Python int too large to convert to C long"

pygobject (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 2 09:03:34 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=732633
  pygobject | introspection | unspecified

Sebastian Dröge (slomo) <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|gst-python                  |introspection
            Version|git                         |unspecified
         AssignedTo|gstreamer-bugs at lists.freede |nobody at pygtk.org
                   |sktop.org                   |
            Product|GStreamer                   |pygobject
   Target Milestone|HEAD                        |---
          QAContact|gstreamer-bugs at lists.freede |python-bindings-maint at gnome
                   |sktop.org                   |.bugs

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-07-02 16:03:27 UTC ---
I think this is a problem in pygobject with properly converting the value.

>>> b.poll(Gst.MessageType.ANY, 0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: Python int too large to convert to C long
>>> Gst.MessageType.ANY
<flags GST_MESSAGE_EOS | GST_MESSAGE_ERROR | GST_MESSAGE_WARNING |
GST_MESSAGE_INFO | GST_MESSAGE_TAG | GST_MESSAGE_BUFFERING |
GST_MESSAGE_STATE_CHANGED | GST_MESSAGE_STATE_DIRTY | GST_MESSAGE_STEP_DONE |
GST_MESSAGE_CLOCK_PROVIDE | GST_MESSAGE_CLOCK_LOST | GST_MESSAGE_NEW_CLOCK |
GST_MESSAGE_STRUCTURE_CHANGE | GST_MESSAGE_STREAM_STATUS |
GST_MESSAGE_APPLICATION | GST_MESSAGE_ELEMENT | GST_MESSAGE_SEGMENT_START |
GST_MESSAGE_SEGMENT_DONE | GST_MESSAGE_DURATION_CHANGED | GST_MESSAGE_LATENCY |
GST_MESSAGE_ASYNC_START | GST_MESSAGE_ASYNC_DONE | GST_MESSAGE_REQUEST_STATE |
GST_MESSAGE_STEP_START | GST_MESSAGE_QOS | GST_MESSAGE_PROGRESS |
GST_MESSAGE_TOC | GST_MESSAGE_RESET_TIME | GST_MESSAGE_STREAM_START |
GST_MESSAGE_NEED_CONTEXT | GST_MESSAGE_HAVE_CONTEXT | GST_MESSAGE_EXTENDED |
GST_MESSAGE_DEVICE_ADDED | GST_MESSAGE_DEVICE_REMOVED | GST_MESSAGE_ANY of type
GstMessageType>

-- 
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