libeplayer3: speed up Player::Stop()

This commit is contained in:
Stefan Seyfried
2016-01-08 17:28:25 +01:00
parent 66cc42cb19
commit 23c64535be

View File

@@ -202,9 +202,11 @@ bool Player::Continue()
bool Player::Stop()
{
// fprintf(stderr, "Player::Stop():%d isPlaying:%d\n", __LINE__, isPlaying);
bool ret = true;
if (isPlaying) {
abortRequested = true;
isPaused = false;
isPlaying = false;
isForwarding = false;