summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c
index 3084f85..eb904ed 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -1166,7 +1166,11 @@ static int button_loop(void)
audio_str.status = STREAM_STOPPED;
goto quit;
}
+#ifndef MPEG_PAUSE2
+ } while (button != MPEG_PAUSE);
+#else
} while (button != MPEG_PAUSE && button != MPEG_PAUSE2);
+#endif
str_send_msg(&video_str, STREAM_PLAY, 0);
audio_str.status = STREAM_PLAYING;