Bug 339097

Summary: phonon-backend-gstreamer-4.8.0 causes amarok to hang
Product: [Frameworks and Libraries] phonon-backend-gstreamer Reporter: Till Schäfer <till2.schaefer>
Component: generalAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED NOT A BUG    
Severity: normal CC: johu, myriam, romain.perier, sitter, tdfischer, uwelk
Priority: NOR    
Version: 4.7-git   
Target Milestone: 4.8   
Platform: Gentoo Packages   
OS: Linux   
URL: https://bugs.gentoo.org/show_bug.cgi?id=522880
Latest Commit: Version Fixed In:

Description Till Schäfer 2014-09-15 15:24:58 UTC
after upgrading to media-libs/phonon-gstreamer-4.8.0 (a requirement of kde 4.14 in gentoo) Amarok stops working, when using the gstreamer backend. The application freezes directly after initialization observable by graphical artifacts. 

this bug is reproducible on two computers, running amarok 2.8.0-r3 and amarok git (build 04.09.2014 13:00 UTC)

i have linked the gentoo bug

Reproducible: Always

Steps to Reproduce:
1. install media-libs/phonon-gstreamer-4.8.0 (this is gentoo)
2. set gstreamer backend for phonon in systemsettings
3. start amarok

Reproducible: Always
Comment 1 Daniel Vrátil 2014-09-15 22:09:36 UTC
Did you recompile your QtWebkit against GStreamer-1.0? phonon-gstreamer 4.8 uses GStreamer-1.0, so if you start Amarok with phonon-gst 4.8, but QtWebkit linked against GStreamer- 0.10, the application will try to load both sets of plugins (for both 0.10 and 1.0) and it deadlocks (well, GStreamer deadlocks).
Comment 2 Till Schäfer 2014-09-16 09:12:43 UTC
No, this seems to be indeed the case. 

However, this is a problem, since qt-4.8.x webkit does not support gstreamer-1.x afaik. (Gentoo devs seem to consider packaging qtwebkit seperatily in the future -> see downstream bug report)
Comment 3 Till Schäfer 2015-02-22 15:39:00 UTC
forgot to change status
Comment 4 Daniel Vrátil 2015-04-06 22:46:41 UTC
Marking as invalid, since this is not a phonon bug.

For the record, there are patches lying around the interwebs to make Qt 4 WebKit build with gstreamer-1.0, they are used by most distributions that decided to dump gst0.10 for good (like Fedora)
Comment 5 Till Schäfer 2015-04-06 22:55:58 UTC
can you please give a link to that patch?
Comment 6 Daniel Vrátil 2015-04-06 23:18:34 UTC
This is the one we have in Fedora (it's originally from openSUSE packages, but I don't know where their distgit is :-) )

 http://pkgs.fedoraproject.org/cgit/qtwebkit.git/commit/?id=4564ccf943eb2dea00631397e2e4d8fdca3c9b7a
Comment 7 Till Schäfer 2015-04-07 09:20:19 UTC
thx