Trouble decoding python gstreamer messages

Sebastian Dröge sebastian at centricular.com
Wed Nov 2 07:56:29 UTC 2016


On Mon, 2016-10-31 at 19:12 +0000, Thomas Purchas wrote:
> Hey Everyone,
> 
> I'm trying to use the Python 3 gstreamer bindings (using python-gi)
> to grab and pre-process an RTSP stream. It's a pretty simple script
> (below) that puts together a pipeline and tries to listen to messages
> from the pipeline.
> 
> When I read messages of the pipeline bus using bus =
> pipeline.get_bus()and bus.timed_pop_filtered(100000,
> Gst.MessageType.ANY)I'm finding that the message type is changing
> while I try to evaluate it. At the start of my if block the message
> type == 0, but by the time I get to the else statement the message
> type as changed to something else.
> [...]

That sounds like a reference counting bug in the bindings. Can you file
a bug here:
  https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer&component=gst-python

Please also attach your testcase there to make it easier to reproduce
the problem.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161102/20c9bbac/attachment.sig>


More information about the gstreamer-devel mailing list