Summary: | Phonon::MediaSource::currentSource() gives wrong current source if another track is already queued | ||
---|---|---|---|
Product: | [Frameworks and Libraries] phonon-backend-vlc | Reporter: | Matěj Laitl <matej> |
Component: | general | Assignee: | Harald Sitter <sitter> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bcooksley, fabo, jb, maris.kde, martin.sandsmark, myriam |
Priority: | NOR | ||
Version: | 0.6 | ||
Target Milestone: | 0.7 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/phonon-vlc/271761a8510bc2a62405e77fc9e5e13dc22155de | Version Fixed In: | 0.6.1 |
Sentry Crash Report: |
Description
Matěj Laitl
2012-08-12 12:54:05 UTC
Git commit 324d7d92c97036f9c877c5e8c76c66651bbd8517 by Harald Sitter. Committed on 22/08/2012 at 12:54. Pushed by sitter into branch 'master'. fix aboutToFinish thresh calculation for continuous streams we get a length of 0, so we need to exclude <= 0 from delta calculation, otherwise aboutToFinish gets immediately emitted for streams triggering a bogus source change in a consumer M +5 -1 src/mediaobject.cpp http://commits.kde.org/phonon-vlc/324d7d92c97036f9c877c5e8c76c66651bbd8517 Git commit 271761a8510bc2a62405e77fc9e5e13dc22155de by Harald Sitter. Committed on 22/08/2012 at 12:54. Pushed by sitter into branch '0.6'. fix aboutToFinish thresh calculation for continuous streams we get a length of 0, so we need to exclude <= 0 from delta calculation, otherwise aboutToFinish gets immediately emitted for streams triggering a bogus source change in a consumer M +5 -1 src/mediaobject.cpp http://commits.kde.org/phonon-vlc/271761a8510bc2a62405e77fc9e5e13dc22155de I confirm this fixes the symptoms in Amarok, yay! *** Bug 306660 has been marked as a duplicate of this bug. *** |