summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c
index 8720229320..5a8a4adc08 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -1322,6 +1322,9 @@ static void video_thread(void)
state = mpeg2_parse (mpeg2dec);
rb->yield();
+ /* Prevent idle poweroff */
+ rb->reset_poweroff_timer();
+
switch (state)
{
case STATE_BUFFER: