[Sugar-devel] Port from GStreamer Gst.Message.structure to get_structure()
James Cameron
quozl at laptop.org
Tue Mar 27 00:26:24 EDT 2018
GStreamer project removed or deprecated the structure field of Gst.Message, replacing it with a method get_structure().
Many activities are affected.
Code pattern to look for is a reference to message.structure, e.g.
bus = pipe.get_bus()
bus.connect('message', _cb)
def _cb(bus, message):
message.structure. ...
References:
https://github.com/orgs/sugarlabs/projects/3
https://lazka.github.io/pgi-docs/Gst-1.0/classes/Bus.html#Gst.Bus.signals.message
https://lazka.github.io/pgi-docs/Gst-1.0/classes/Message.html#Gst.Message.get_structure
--
James Cameron
http://quozl.netrek.org/
More information about the Sugar-devel
mailing list