From 37e3502fb059f22518bcedacd1087ecf68c67ec7 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 15 Nov 2013 09:18:18 +0100 Subject: [PATCH] - movieplayer: show progress in VFD (thx Satbaby) --- src/driver/vfd.cpp | 2 +- src/gui/movieplayer.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/driver/vfd.cpp b/src/driver/vfd.cpp index f2f95dac9..da15d7467 100644 --- a/src/driver/vfd.cpp +++ b/src/driver/vfd.cpp @@ -385,7 +385,7 @@ void CVFD::showPercentOver(const unsigned char perc, const bool /*perform_update { if(!has_lcd) return; - if ((mode == MODE_TVRADIO) && !(g_settings.lcd_setting[SNeutrinoSettings::LCD_SHOW_VOLUME])) { + if (((mode == MODE_TVRADIO) || (mode == MODE_MENU_UTF8)) && !(g_settings.lcd_setting[SNeutrinoSettings::LCD_SHOW_VOLUME])) { //if (g_settings.lcd_setting[SNeutrinoSettings::LCD_SHOW_VOLUME] == 0) { ShowIcon(FP_ICON_FRAME, true); diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index c7768c71a..557430a97 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -593,6 +593,8 @@ void CMoviePlayerGui::PlayFile(void) file_prozent = (unsigned char) (position / (duration / 100)); #if HAVE_TRIPLEDRAGON CVFD::getInstance()->showPercentOver(file_prozent, true, CVFD::MODE_MOVIE); +#else + CVFD::getInstance()->showPercentOver(file_prozent); #endif playback->GetSpeed(speed);