diff options
author | Paul Louden <paulthenerd@gmail.com> | 2007-11-21 06:09:17 +0000 |
---|---|---|
committer | Paul Louden <paulthenerd@gmail.com> | 2007-11-21 06:09:17 +0000 |
commit | a14aface6b27e67f1e531d8e8f5fa1e7952ae395 (patch) | |
tree | 642df2f9ffec1e4a1318e37fb73490cdca37388b /apps/plugins/mpegplayer/mpegplayer.c | |
parent | 0ffe935d32e3d126bf56778c044200c7e9f85c7a (diff) |
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
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.c')
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index 3084f85a27..eb904ed3c1 100644 --- a/apps/plugins/mpegplayer/mpegplayer.c +++ b/apps/plugins/mpegplayer/mpegplayer.c @@ -1166,7 +1166,11 @@ static int button_loop(void) audio_str.status = STREAM_STOPPED; goto quit; } +#ifndef MPEG_PAUSE2 + } while (button != MPEG_PAUSE); +#else } while (button != MPEG_PAUSE && button != MPEG_PAUSE2); +#endif str_send_msg(&video_str, STREAM_PLAY, 0); audio_str.status = STREAM_PLAYING; |