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 /hlsPlayer.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 'hlsPlayer.cpp')
-rw-r--r-- | hlsPlayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hlsPlayer.cpp b/hlsPlayer.cpp index 1c1f4a3..ca1d91f 100644 --- a/hlsPlayer.cpp +++ b/hlsPlayer.cpp @@ -608,7 +608,7 @@ void cHlsPlayer::Stop(void) double cHlsPlayer::FramesPerSecond(void) { - return m_Video.m_Media.m_VideoFrameRate ? m_Video.m_Media.m_VideoFrameRate : DEFAULTFRAMESPERSECOND; + return m_Video.m_Media.m_VideoFrameRate > 0 ? m_Video.m_Media.m_VideoFrameRate : DEFAULTFRAMESPERSECOND; } void cHlsPlayer::JumpRelative(int seconds) |