mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libeplayer3: speed up Player::Stop()
This commit is contained in:
@@ -202,9 +202,11 @@ bool Player::Continue()
|
|||||||
|
|
||||||
bool Player::Stop()
|
bool Player::Stop()
|
||||||
{
|
{
|
||||||
|
// fprintf(stderr, "Player::Stop():%d isPlaying:%d\n", __LINE__, isPlaying);
|
||||||
bool ret = true;
|
bool ret = true;
|
||||||
|
|
||||||
if (isPlaying) {
|
if (isPlaying) {
|
||||||
|
abortRequested = true;
|
||||||
isPaused = false;
|
isPaused = false;
|
||||||
isPlaying = false;
|
isPlaying = false;
|
||||||
isForwarding = false;
|
isForwarding = false;
|
||||||
|
Reference in New Issue
Block a user