summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpegplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.c')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c
index e66b4df146..654a348959 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -1215,10 +1215,9 @@ static void osd_lcd_enable_hook(unsigned short id, void* param)
1215static void osdbacklight_hw_on_video_mode(bool video_on) 1215static void osdbacklight_hw_on_video_mode(bool video_on)
1216{ 1216{
1217 if (video_on) { 1217 if (video_on) {
1218#ifdef HAVE_BACKLIGHT
1219 /* Turn off backlight timeout */ 1218 /* Turn off backlight timeout */
1220 backlight_ignore_timeout(); 1219 backlight_ignore_timeout();
1221#endif 1220
1222#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP) 1221#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
1223 rb->remove_event(LCD_EVENT_ACTIVATION, osd_lcd_enable_hook); 1222 rb->remove_event(LCD_EVENT_ACTIVATION, osd_lcd_enable_hook);
1224#endif 1223#endif
@@ -1226,10 +1225,8 @@ static void osdbacklight_hw_on_video_mode(bool video_on)
1226#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP) 1225#if defined(HAVE_LCD_ENABLE) || defined(HAVE_LCD_SLEEP)
1227 rb->add_event(LCD_EVENT_ACTIVATION, osd_lcd_enable_hook); 1226 rb->add_event(LCD_EVENT_ACTIVATION, osd_lcd_enable_hook);
1228#endif 1227#endif
1229#ifdef HAVE_BACKLIGHT
1230 /* Revert to user's backlight settings */ 1228 /* Revert to user's backlight settings */
1231 backlight_use_settings(); 1229 backlight_use_settings();
1232#endif
1233 } 1230 }
1234} 1231}
1235 1232