Bug 278432 - Amarok only plays every other FLAC track when using the GStreamer Phonon backend
Summary: Amarok only plays every other FLAC track when using the GStreamer Phonon backend
Status: RESOLVED NOT A BUG
Alias: None
Product: phonon-backend-gstreamer
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.5.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 4.5.2
Assignee: Harald Sitter
URL:
Keywords:
: 281434 289618 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-25 00:51 UTC by JR
Modified: 2012-07-30 20:19 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Terminal output snippet from running amarok --debug (37.32 KB, text/x-log)
2011-07-25 00:51 UTC, JR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JR 2011-07-25 00:51:50 UTC
Created attachment 62162 [details]
Terminal output snippet from running amarok --debug

Version:           4.5.0 (using KDE 4.6.5) 
OS:                Linux

Kubuntu 11.04, KDE 4.6.5 packages from Kubuntu PPAs. Amarok is of package version 2:2.4.1-1ubuntu1~natty1~ppa2, Phonon 4:4.7.0really4.5.0-0ubuntu3 and phonon-backend-gstreamer 4:4.7.0really4.5.0-0ubuntu2.1.

When transitioning from one playing FLAC track to another, such as by double-clicking a different track in your playlist or by simply hitting the Next button, Amarok will fail to play the track you're attempting to transition to. It will instead go down your playlist, and (mostly) successfully start to play the following track. This only seems to happen with FLAC tracks, and only with the GStreamer backend.

Reproducible: Always

Steps to Reproduce:
1. Enable the GStreamer Phonon backend
2. Open Amarok
3. Queue at least three FLAC tracks
4. Start playing track 1
5. While playing track 1 (without pausing), change to track 2

Actual Results:  
6. Track 2 is skipped with errors output to the terminal if run with --debug
7. Track 3 starts playing instead

Expected Results:  
6. It should successfully transition into playing track 2

I'm attaching some --debug output that shows when (but not why) it skips the second track. Hopefully the filenames should make it easy to parse what's happening. The interesting bit starts at line ~395.

Noteworthy is that if you let first track end (or merely pausing), it will transition to the next without errors. It only happens when it tries to start playing a FLAC track when something else is already playing.

(Additionally I've managed to get Amarok to hang and soar to 100% cpu use when changing between FLAC tracks like this, but that might be unrelated.)
Comment 1 Myriam Schweingruber 2011-09-06 21:49:58 UTC
*** Bug 281434 has been marked as a duplicate of this bug. ***
Comment 2 Myriam Schweingruber 2011-09-06 21:50:18 UTC
Confirmed by duplicate.
Comment 3 giggi1999 2011-09-07 16:29:53 UTC
I've moved to phonon-backend-vlc and the problem has been disappeared.

Txn.
Comment 4 Myriam Schweingruber 2011-12-23 09:42:56 UTC
*** Bug 289618 has been marked as a duplicate of this bug. ***
Comment 5 Carlos 2012-03-15 23:39:39 UTC
I can confirm this bug.
Amarok 2.5 under debian testing with gstreamer.
Sometimes it does not start to play the flac at all, and they dont allways skip.
Overall there is some strange behaviour with amarok / gstreamer and flac files
Comment 6 Myriam Schweingruber 2012-03-16 09:06:03 UTC
Can you all please test the phonon-backend-gstreamer 4.6.0? It was released a little while ago.
Comment 7 Myriam Schweingruber 2012-07-30 20:19:26 UTC
Closing for lack of feedback. Please feel free to reopen this report if you can reproduce this with the gstreamer backend version 4.6.1 or later