GNOME Bugzilla – Bug 708200
multiqueue: Switching audio tracks doesn't work on some files
Last modified: 2013-12-03 21:01:36 UTC
Created attachment 255069 [details] Script for playing a video and then switching the audio or video track See the attached script. If I run it against this matroska file, switching playbin's "current-audio" causes it to stop playing and lock up: # Download this file to test.mkv: # https://www.dropbox.com/s/aggvr6ch12oqy76/test.mkv gst-git ./switch-track.py file:///$PWD/test.mkv audio Switching the video track works fine though: gst-git ./switch-track.py file:///$PWD/test.mkv video Also it works in this ogg file: # Download to test.ogv # https://www.dropbox.com/s/69iigecsec0gcp3/test.ogv gst-git ./switch-track.py file:///$PWD/test.ogv audio gst-git ./switch-track.py file:///$PWD/test.ogv video
I can reproduce your problem, and this worked in 1.0, so we should fix it.
Created attachment 263365 [details] [review] multiqueue: Wake up on reconfigure event After patch bda406c4, the state of the singlequeue was set to OK, but nothing would then wake up the thread, as the other wakeup functions only look at singlequeues that are marked as having received as not-linked.
I don't understand all of the tricky code in multiqueue, so please review this change carefully. Reverting patch bda406c4, which fixed bug #676304 also corrects this problem.
Comment on attachment 263365 [details] [review] multiqueue: Wake up on reconfigure event Yes, that is correct
Fixed in git master commit a90ce304c823ac47f8a31b33a61db826c548d217 Author: Olivier Crête <olivier.crete@collabora.com> Date: Mon Dec 2 22:22:36 2013 -0500 multiqueue: Wake up on reconfigure event After patch bda406c4, the state of the singlequeue was set to OK, but nothin would then wake up the thread, as the other wakeup functions only look at singlequeues that are marked as having received as not-linked. https://bugzilla.gnome.org/show_bug.cgi?id=708200 And in 1.2 as d935be2d78e3bcdbf540e90d68f8042490f5d733