playbin2 element from the gst-plugins-base:0.10 occasionally stops playback during gapless transitions between different codecs (like OGG → FLAC) or different codec parameters for a single codec (like samplerate and so on). The attached patch fixes the issue. Reproducible: Sometimes Steps to Reproduce: Better described at https://bugs.launchpad.net/exaile/+bug/1044179 , around comments 3-5. Actual Results: Smooth gapless playback. Expected Results: Hangs. More or less relevant links: https://bugzilla.gnome.org/show_bug.cgi?id=680252#c15 https://www.mail-archive.com/amarok@kde.org/msg00774.html http://osdir.com/ml/general/2012-12/msg03144.html https://bugs.launchpad.net/exaile/+bug/1044179
Created attachment 382996 [details, diff] The patch fixing the issue.
Eh, I accidentally transposed expected and actual results, sorry.
I can include this in a later run of collected patches for 0.10 as a last revbump, but ideally I would rather last rite 0.10. I hope exaile is in the process of porting to 1.0 or already has versions using it.
(In reply to Mart Raudsepp from comment #3) I'm rather interested in Qt packages than exaile, as the issue is observed for me in the app-leechcraft/lc-lmp package. While lc-lmp supports building with gstreamer 1.0, it requires the same gstreamer as Qt is built with, which is 0.10 for Qt 4 in Gentoo. So, unless someone ports Qt 4 to 1.0, that's hardly a subject to lastrite :(
+ 19 Jan 2015; Pacho Ramos <pacho@gentoo.org> + +files/gst-plugins-base-0.10.36-gcc-4.9.patch, + +files/gst-plugins-base-0.10.36-resync-ringbuffer.patch, + -gst-plugins-base-0.10.36.ebuild, gst-plugins-base-0.10.36-r1.ebuild, + gst-plugins-base-1.2.4-r1.ebuild: + Fix compilation with gcc-4.9 (#529962 by Martin Väth and Stephan Hartmann), + fix hang during gapless transition (#520090 by Georg Rudoy), drop old +
+*gst-plugins-base-0.10.36-r2 (19 Jan 2015) + + 19 Jan 2015; Pacho Ramos <pacho@gentoo.org> + +gst-plugins-base-0.10.36-r2.ebuild, gst-plugins-base-0.10.36-r1.ebuild: + Revbump with the fix for the hang +