mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- movieplayer: show progress in VFD (thx Satbaby)
This commit is contained in:
@@ -385,7 +385,7 @@ void CVFD::showPercentOver(const unsigned char perc, const bool /*perform_update
|
|||||||
{
|
{
|
||||||
if(!has_lcd) return;
|
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)
|
//if (g_settings.lcd_setting[SNeutrinoSettings::LCD_SHOW_VOLUME] == 0)
|
||||||
{
|
{
|
||||||
ShowIcon(FP_ICON_FRAME, true);
|
ShowIcon(FP_ICON_FRAME, true);
|
||||||
|
@@ -593,6 +593,8 @@ void CMoviePlayerGui::PlayFile(void)
|
|||||||
file_prozent = (unsigned char) (position / (duration / 100));
|
file_prozent = (unsigned char) (position / (duration / 100));
|
||||||
#if HAVE_TRIPLEDRAGON
|
#if HAVE_TRIPLEDRAGON
|
||||||
CVFD::getInstance()->showPercentOver(file_prozent, true, CVFD::MODE_MOVIE);
|
CVFD::getInstance()->showPercentOver(file_prozent, true, CVFD::MODE_MOVIE);
|
||||||
|
#else
|
||||||
|
CVFD::getInstance()->showPercentOver(file_prozent);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
playback->GetSpeed(speed);
|
playback->GetSpeed(speed);
|
||||||
|
Reference in New Issue
Block a user