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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 29 13:45:45 UTC 2017


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

--- Comment #3 from Philippe Renon <philippe_renon at yahoo.fr> ---
Some findings:

>>> from gi import _gi
>>> from gi.repository import Gst
>>> info = Gst.MessageType.__info__
>>> info.get_storage_type() == _gi.TypeTag.INT32
False
>>> info.get_storage_type() == _gi.TypeTag.UINT32
True

The above results are different from the same test done in 
https://bugzilla.gnome.org/show_bug.cgi?id=732633

So something was fixed since or, for a change, windows is better than linux.

Extract from Gst-1.0.gir:

      <member name="extended"
              value="2147483648"
              c:identifier="GST_MESSAGE_EXTENDED"
              glib:nick="extended">
        [...]
      </member>
      <member name="device_added"
              value="2147483649"
              c:identifier="GST_MESSAGE_DEVICE_ADDED"
              glib:nick="device-added">
        [...]
      </member>
        [...]
      <member name="any"
              value="4294967295"
              c:identifier="GST_MESSAGE_ANY"
              glib:nick="any">
        [...]
      </member>

Looks correct too.

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