GNOME Bugzilla – Bug 576408
[playbin2] Deadlock when using resindvd as source
Last modified: 2009-04-04 21:38:35 UTC
Hi, playbin2 currently deadlocks when using resindvd while playbin1 works on the same DVD. Backtraces of all threads:
+ Trace 213762
This can be easily reproduced by using gst-launch btw...
With the following patches, it sometimes works. Trying to fix the remaining race next. commit 786b0c248ce019e535f0307b4b105a665d8782d1 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Tue Mar 24 12:22:37 2009 +0100 playbin2: blacklist subpictures for now Blacklist the subpictures until we add support for them. Add some small debug info. See #576408. commit 852ace9cce843144cafdbfb84ff2e05fbb226d69 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Tue Mar 24 12:19:30 2009 +0100 uridecodebin: expose more media types Expose more media types from a raw source, such as the subpicture and various text pads. Small cleanups and add some more debugging. See #576408.
"Sometimes works" with the regression that DVD menus and subtitles no longer appear, of course...
Yeah, that's not really a fix ;)
I was refering to this bugreport, namely that there is a deadlock!
commit 9bf8277d135e818ce502ad1dd9956929382f136c Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Tue Mar 24 18:29:28 2009 +0100 playbin2: add more support for subpictures commit e7b382c6a9e1bec3cf7772989a9093818a112de9 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Tue Mar 24 17:12:53 2009 +0100 playbin2: first support for subpictures Add beginnings of subpicture support.
the remaining thing is now that rsndvdbin pushes data on the pads from the thread that should have emited no_more_pads() first.
Ok, so the remaining bug is in rsndvdbin and the behaviour should be still the same until that's fixed? Because for me it still deadlocks when trying to play a DVD with menus :)
This was apparently fixed by one of Jan's latest changes to resindvd