[Bug 786948] GstMessageType above GST_MESSAGE_EXTENDED not usable with python3 on windows

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Aug 30 16:54:01 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=786948

--- Comment #5 from Philippe Renon <philippe_renon at yahoo.fr> ---
Hacking the _pygi_marshal_from_py_interface_flags() method to make it use
PYGLIB_PyLong_AsUnsignedLong() instead of PYGLIB_PyLong_AsLong() seems to fix
the test case...

>>> import gi
>>> from gi.repository import Gst
>>> print(Gst.MessageType.get_name(Gst.MessageType.DEVICE_ADDED))
device-added

Not sure at all if this hack is acceptable though...

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