Skip to content
Permalink
Browse files

VideoPlayer: do not calc framerate in stalled state

  • Loading branch information...
FernetMenta authored and popcornmix committed Jun 10, 2016
1 parent 0dced5b commit 178e2bb9c8f71904595f6336373535f07e6dfef9
Showing with 2 additions and 1 deletion.
  1. +2 −1 xbmc/cores/VideoPlayer/VideoPlayerVideo.cpp
@@ -796,7 +796,8 @@ int CVideoPlayerVideo::OutputPicture(const DVDVideoPicture* src, double pts)
}

//try to calculate the framerate
CalcFrameRate();
if (!m_stalled)
CalcFrameRate();

// signal to clock what our framerate is, it may want to adjust it's
// speed to better match with our video renderer's output speed

0 comments on commit 178e2bb

Please sign in to comment.
You can’t perform that action at this time.