diff options
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index b228a88dda..b547d36f6a 100644 --- a/apps/plugins/mpegplayer/mpegplayer.c +++ b/apps/plugins/mpegplayer/mpegplayer.c | |||
@@ -1231,6 +1231,10 @@ static void button_loop(void) | |||
1231 | { | 1231 | { |
1232 | int button = rb->button_get_w_tmo(WVS_MIN_UPDATE_INTERVAL); | 1232 | int button = rb->button_get_w_tmo(WVS_MIN_UPDATE_INTERVAL); |
1233 | 1233 | ||
1234 | /* Make sure Rockbox doesn't turn off the player because of | ||
1235 | too little activity */ | ||
1236 | rb->reset_poweroff_timer(); | ||
1237 | |||
1234 | switch (button) | 1238 | switch (button) |
1235 | { | 1239 | { |
1236 | case BUTTON_NONE: | 1240 | case BUTTON_NONE: |
@@ -1337,6 +1341,7 @@ static void button_loop(void) | |||
1337 | /* Stop and get the resume time before closing the file early */ | 1341 | /* Stop and get the resume time before closing the file early */ |
1338 | wvs_stop(); | 1342 | wvs_stop(); |
1339 | stream_close(); | 1343 | stream_close(); |
1344 | save_settings(); /* Save settings (if they have changed) */ | ||
1340 | /* Fall-through */ | 1345 | /* Fall-through */ |
1341 | default: | 1346 | default: |
1342 | rb->default_event_handler(button); | 1347 | rb->default_event_handler(button); |