diff options
author | chriszero <zerov83@gmail.com> | 2015-03-15 12:17:26 +0100 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-03-15 12:17:26 +0100 |
commit | 2788b2cbe68b4b481f3a080658cc433d2927b4fb (patch) | |
tree | 988cfa0e026d9f687e959e851989ea76b5c5c4ad /hlsPlayerControl.cpp | |
parent | 5989d80e8022f5b5796ce168919e49f9400475b2 (diff) | |
download | vdr-plugin-plex-2788b2cbe68b4b481f3a080658cc433d2927b4fb.tar.gz vdr-plugin-plex-2788b2cbe68b4b481f3a080658cc433d2927b4fb.tar.bz2 |
Fixes display of total time for webvideos (Vimeo, Youtube, ...)
Diffstat (limited to 'hlsPlayerControl.cpp')
-rw-r--r-- | hlsPlayerControl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hlsPlayerControl.cpp b/hlsPlayerControl.cpp index 309c257..360e3ec 100644 --- a/hlsPlayerControl.cpp +++ b/hlsPlayerControl.cpp @@ -262,14 +262,10 @@ bool cHlsPlayerControl::ShowProgress(bool Initial) int Index = Total; if (Setup.ShowRemainingTime) Index = Current - Index; - if(Total == 0) // Webstreams - Index = Current; displayReplay->SetTotal(IndexToHMSF(Index, false, FramesPerSecond())); if (!Initial) displayReplay->Flush(); } - if(Total == 0) // Webstreams - Total = Current; displayReplay->SetProgress(Current, Total); if (!Initial) displayReplay->Flush(); |