Strange behaviour

Arjen Veenhuizen arjen.veenhuizen at tno.nl
Fri Dec 2 12:22:30 UTC 2016


Couple of things:
1. decodebin has 'sometimes' src pads so you should not hard link decodebin
to any element a-priori.
2. You have to connect to the 'pad-added' signal on decodebin and in its
callback connect the remainder of your pipeline elements. (e.g.
self.dec.connect("pad-added", self.cbDecPadAdded))
3. You need an event loop (e.g. GObject.Mainloop.run()) after you set the
pipeline to PLAYING.





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Strange-behaviour-tp4680980p4680996.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list