mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
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
This commit is contained in:
parent
0eae80decd
commit
fcbc699dca
1 changed files with 3 additions and 0 deletions
|
@ -1322,6 +1322,9 @@ static void video_thread(void)
|
||||||
state = mpeg2_parse (mpeg2dec);
|
state = mpeg2_parse (mpeg2dec);
|
||||||
rb->yield();
|
rb->yield();
|
||||||
|
|
||||||
|
/* Prevent idle poweroff */
|
||||||
|
rb->reset_poweroff_timer();
|
||||||
|
|
||||||
switch (state)
|
switch (state)
|
||||||
{
|
{
|
||||||
case STATE_BUFFER:
|
case STATE_BUFFER:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue