movieplayer: show progress in VFD (thx Satbaby)

Origin commit data
------------------
Commit: 37e3502fb0
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-11-15 (Fri, 15 Nov 2013)

Origin message was:
------------------
- movieplayer: show progress in VFD (thx Satbaby)
This commit is contained in:
vanhofen
2013-11-15 09:18:18 +01:00
parent 684d155919
commit cf1caa7d7c
2 changed files with 3 additions and 1 deletions

View File

@@ -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);

View File

@@ -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);