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:
parent
a973ea758a
commit
143078699b
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user