Sugar Labs

Port from GStreamer Gst.Message.structure to get_structure() (1 of 3)

GStreamer project deprecated the structure field of Gst.Message, replacing it with a method get_structure().

Many activities are affected.

Code pattern is

bus = pipe.get_bus()
bus.connect('message', _cb)

def _cb(bus, message):

Issues have not been created, as it is a waste of time to do so. As of 2019-11-23 there are 38+ matches for the code pattern "message.structure" or "msg.structure" in org:sugarlabs.

Task tags

  • python
  • gstreamer
  • gst

Students who completed this task

Rishikesh Joshi, Smag

Task type

  • code Code