1
0
Fork 0
forked from len0rd/rockbox

Okay. Really fix the red. It's a little ugly at this point, and clearly

I shouldn't be coding in whatever my mental state is. But the intent was 
not to remove the use of Select for pausing in Mpegplayer, for those who 
like it. The ugliness can be removed if we want to go back to a single 
pause button.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15736 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Paul Louden 2007-11-21 06:09:17 +00:00
parent 0ffe935d32
commit a14aface6b

View file

@ -1166,7 +1166,11 @@ static int button_loop(void)
audio_str.status = STREAM_STOPPED; audio_str.status = STREAM_STOPPED;
goto quit; goto quit;
} }
#ifndef MPEG_PAUSE2
} while (button != MPEG_PAUSE);
#else
} while (button != MPEG_PAUSE && button != MPEG_PAUSE2); } while (button != MPEG_PAUSE && button != MPEG_PAUSE2);
#endif
str_send_msg(&video_str, STREAM_PLAY, 0); str_send_msg(&video_str, STREAM_PLAY, 0);
audio_str.status = STREAM_PLAYING; audio_str.status = STREAM_PLAYING;