GNOME Bugzilla – Bug 576188
[playbin2] Reusing a playbin2 instance with visualizations creates deadlock
Last modified: 2009-03-23 18:41:55 UTC
Hi, when reusing a playbin2 instance, that is currently showing visualizations, it will deadlock. This is easy to reproduce with the patch in bug #542663.
To be more specific, it also happens when switching to a new pipeline that will show visualizations. It doesn't happen always but in >50%
The problem here seems to be related to the video sink being gconfvideosink. When changing the video sink to xvimagesink or ximagesink everything works without problems with the same code. So probably something is confused by gconfvideosink changing the internal sink as the audio pipeline is blocked in preroll and no video pipeline is running at this time, i.e. no thread is somewhere in the dec!conversion!videosink part.
commit 14be3f41e26255cf559169b4cc1acd21653d990e Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Mon Mar 23 19:40:18 2009 +0100 playbin2: fix reuse of the video chains When reusing playbin with visualisations, reset the async property on the video sink because some sinks might dynamically recreate their sinks. Fixes #576188