diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/wps.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/wps.c b/apps/wps.c index c76d7ade26..1958c61f19 100644 --- a/apps/wps.c +++ b/apps/wps.c | |||
@@ -655,9 +655,11 @@ int wps_show(void) | |||
655 | 655 | ||
656 | while ( 1 ) | 656 | while ( 1 ) |
657 | { | 657 | { |
658 | bool mpeg_paused = (mpeg_status() & MPEG_STATUS_PAUSE)?true:false; | ||
659 | |||
658 | /* did someone else (i.e power thread) change mpeg pause mode? */ | 660 | /* did someone else (i.e power thread) change mpeg pause mode? */ |
659 | if (paused != (mpeg_status() & MPEG_STATUS_PAUSE)) { | 661 | if (paused != mpeg_paused) { |
660 | paused = mpeg_status() & MPEG_STATUS_PAUSE; | 662 | paused = mpeg_paused; |
661 | status_set_playmode(paused ? STATUS_PAUSE : STATUS_PLAY); | 663 | status_set_playmode(paused ? STATUS_PAUSE : STATUS_PLAY); |
662 | 664 | ||
663 | /* if another thread paused mpeg, we are probably in car mode, | 665 | /* if another thread paused mpeg, we are probably in car mode, |