1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-19 23:41:51 +02:00

* Fixed not emitting start with GStreamer Phonon backend.

This commit is contained in:
Christian Muehlhaeuser 2013-01-13 08:48:22 +01:00
parent a973ea758a
commit 143078699b

View File

@ -764,6 +764,11 @@ AudioEngine::onStateChanged( Phonon::State newState, Phonon::State oldState )
setState( Playing );
}
if ( newState == Phonon::StoppedState && oldState == Phonon::PausedState )
{
// GStreamer backend hack: instead of going from PlayingState to StoppedState, it traverses PausedState
setState( Stopped );
}
if ( oldState == Phonon::PlayingState )
{