GNOME Bugzilla – Bug 633176
recent multiqueue changes break DVD playback
Last modified: 2010-10-27 21:25:45 UTC
Specifically, the combination of these 2 commits, although 33082eb9e42c52e4df848195946f1b7bbce768c5 seems to be the culprit. commit 518364e7acbcb4f917943060440323fa554f9631 Author: Edward Hervey <bilboed@bilboed.com> Date: Fri Oct 8 12:54:52 2010 +0200 multiqueue: Remove unused variable and simplify code oldid was only used when we were doing multiple pops per loop. commit 33082eb9e42c52e4df848195946f1b7bbce768c5 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Fri Aug 27 16:52:12 2010 +0200 multiqueue: Don't do an infinite loop in the loop function Instead return after every iteration, which makes sure that the stream lock is released for a short time after every iteration, task state changes are checked, etc and this allows the task to be stopped properly.
Created attachment 173325 [details] [review] unit test case to reproduce the problem
Created attachment 173330 [details] [review] proposed fix fix that reintroduces the oldid variable, but as a state variable on the respective SingleQueues
Created attachment 173332 [details] [review] proposed fix for 633176 updated patch - same as before, with the commit message corrected.
commit 691807d634240faf21e68cf58d730141cba9f115 Author: Jan Schmidt <thaytan@noraisin.net> Date: Wed Oct 27 18:12:36 2010 +0200 multiqueue: Fix tracking of unlinked streams. 33082eb9e42c52e4df848195946f1b7bbce768c5 introduced a bug preventing sparse unlinked streams from advancing properly, leading to the queue blocking. Fixes: #633176 commit 6d590c65e5c6679102d1ea897c25c01ba2ad843b Author: Jan Schmidt <thaytan@noraisin.net> Date: Wed Oct 27 18:11:35 2010 +0200 tests: Add a multiqueue sparse streams test
*** Bug 631174 has been marked as a duplicate of this bug. ***
*** Bug 630650 has been marked as a duplicate of this bug. ***