mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
Set current time to 0 as soon as we request to stop the playback.
This commit is contained in:
@@ -385,6 +385,7 @@ AudioOutput::stop()
|
|||||||
tDebug() << Q_FUNC_INFO;
|
tDebug() << Q_FUNC_INFO;
|
||||||
|
|
||||||
libvlc_media_player_stop( m_vlcPlayer );
|
libvlc_media_player_stop( m_vlcPlayer );
|
||||||
|
m_currentTime = 0;
|
||||||
setState( Stopped );
|
setState( Stopped );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user