mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
gui/timeosd: rewrite based on infoclock implementation
This commit is contained in:
@@ -595,6 +595,7 @@ void CMoviePlayerGui::PlayFile(void)
|
||||
|
||||
if ((playstate >= CMoviePlayerGui::PLAY) && (timeshift || (playstate != CMoviePlayerGui::PAUSE))) {
|
||||
if(playback->GetPosition(position, duration)) {
|
||||
FileTime.update(position, duration);
|
||||
if(duration > 100)
|
||||
file_prozent = (unsigned char) (position / (duration / 100));
|
||||
#if HAVE_TRIPLEDRAGON
|
||||
|
Reference in New Issue
Block a user