Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 520090 - media-libs/gst-plugins-base-0.10* hangs during gapless transition between codecs/params
Summary: media-libs/gst-plugins-base-0.10* hangs during gapless transition between cod...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-08-16 21:38 UTC by Georg Rudoy
Modified: 2015-01-19 11:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The patch fixing the issue. (resync.patch,530 bytes, patch)
2014-08-16 21:38 UTC, Georg Rudoy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Georg Rudoy 2014-08-16 21:38:29 UTC
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
Comment 1 Georg Rudoy 2014-08-16 21:38:49 UTC
Created attachment 382996 [details, diff]
The patch fixing the issue.
Comment 2 Georg Rudoy 2014-08-16 21:56:52 UTC
Eh, I accidentally transposed expected and actual results, sorry.
Comment 3 Mart Raudsepp gentoo-dev 2014-08-17 00:12:28 UTC
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.
Comment 4 Georg Rudoy 2014-08-17 01:32:02 UTC
(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 :(
Comment 5 Pacho Ramos gentoo-dev 2015-01-19 11:15:40 UTC
+  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
+
Comment 6 Pacho Ramos gentoo-dev 2015-01-19 11:17:51 UTC
+*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
+