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. Code: import gi Thanks -- Thomas Purchas _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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. > [...] 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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (949 bytes) Download Attachment |
Free forum by Nabble | Edit this page |