mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 15:16:34 +02:00
* Fixed not emitting start with GStreamer Phonon backend.
This commit is contained in:
@@ -764,6 +764,11 @@ AudioEngine::onStateChanged( Phonon::State newState, Phonon::State oldState )
|
|||||||
|
|
||||||
setState( Playing );
|
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 )
|
if ( oldState == Phonon::PlayingState )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user