mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
movieplayer: add progress to vfd
Origin commit data
------------------
Branch: ni/coolstream
Commit: ad757a9a60
Author: TangoCash <eric@loxat.de>
Date: 2017-10-31 (Tue, 31 Oct 2017)
Origin message was:
------------------
- movieplayer: add progress to vfd
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1634,15 +1634,17 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
|||||||
#else
|
#else
|
||||||
CVFD::getInstance()->showPercentOver(file_prozent);
|
CVFD::getInstance()->showPercentOver(file_prozent);
|
||||||
#endif
|
#endif
|
||||||
#if HAVE_DUCKBOX_HARDWARE
|
if (g_info.hw_caps->display_xres > 8)
|
||||||
ss = position/1000;
|
{
|
||||||
hh = ss/3600;
|
ss = position/1000;
|
||||||
ss -= hh * 3600;
|
hh = ss/3600;
|
||||||
mm = ss/60;
|
ss -= hh * 3600;
|
||||||
ss -= mm * 60;
|
mm = ss/60;
|
||||||
std::string Value = to_string(hh/10) + to_string(hh%10) + ":" + to_string(mm/10) + to_string(mm%10) + ":" + to_string(ss/10) + to_string(ss%10);
|
ss -= mm * 60;
|
||||||
CVFD::getInstance()->ShowText(Value.c_str());
|
std::string Value = to_string(hh/10) + to_string(hh%10) + ":" + to_string(mm/10) + to_string(mm%10) + ":" + to_string(ss/10) + to_string(ss%10);
|
||||||
#endif
|
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8);
|
||||||
|
CVFD::getInstance()->showMenuText(0, Value.c_str(), -1, true);
|
||||||
|
}
|
||||||
|
|
||||||
playback->GetSpeed(speed);
|
playback->GetSpeed(speed);
|
||||||
/* at BOF lib set speed 1, check it */
|
/* at BOF lib set speed 1, check it */
|
||||||
|
Reference in New Issue
Block a user