diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2007-05-19 17:02:55 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2007-05-19 17:02:55 +0000 |
commit | fcbc699dca58a43888de5d8328794fe7ede3ed9c (patch) | |
tree | 15069d6b4314576922c740f0565f29ce94f8e40a /apps/plugins | |
parent | 0eae80decd08e726b3198809d5f26b1392e1edff (diff) |
Prevent idle poweroff in the MPEG video player plugin. Fixes FS#6091.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13413 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.c | 3 |
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: |