[gst-devel] Playbin Element Hanging GUI and MainLoop

Michael Smith msmith at fluendo.com
Fri May 11 10:45:49 CEST 2007


On Fri, 2007-05-11 at 00:53 +0000, Mystilleef wrote:
> Hello,
> 
> How do I prevent a Playbin element from blocking the GUI or mainloop
> when changing its state to PAUSE/PLAYING? In particular, I'm having
> problems streaming some URIs that makes the playbin block the GUI and
> mainloop. I attached a test code you can run to reproduce the problem.
> The code has a good stream (self.__nice_stream) and bad stream
> (self.__bad_stream). You can change these streams in the
> self.__play_uri() method.

There isn't much you can do. If setting a pipeline's state blocks, ever,
then that's a bug in a plugin.

You should just report the bugs; hopefully we'll be able to fix it.

Mike




More information about the gstreamer-devel mailing list