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:
Linus Nielsen Feltzing 2007-05-19 17:02:55 +00:00
parent 0eae80decd
commit fcbc699dca

View file

@ -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: