summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpegplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.c')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c
index c27d6aa120..577d9c6512 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -88,6 +88,8 @@ static bool button_loop(void)
88#endif 88#endif
89 do { 89 do {
90 button = rb->button_get(true); 90 button = rb->button_get(true);
91 if (button == MPEG_STOP)
92 return true;
91 } while (button != MPEG_PAUSE); 93 } while (button != MPEG_PAUSE);
92#ifdef HAVE_ADJUSTABLE_CPU_FREQ 94#ifdef HAVE_ADJUSTABLE_CPU_FREQ
93 rb->cpu_boost(true); 95 rb->cpu_boost(true);