dvdplayer: remove code that set limit on smallest frame rate
authorJoakim Plate <elupus@ecce.se>
Sun, 19 Jan 2014 16:54:40 +0000 (17:54 +0100)
committerJoakim Plate <elupus@ecce.se>
Mon, 20 Jan 2014 21:27:42 +0000 (22:27 +0100)
This skips the "slow" motion video after seek, by instead starting
playback when next frame is to be displayed

xbmc/cores/dvdplayer/DVDPlayerVideo.cpp

index 4797b19..0761833 100644 (file)
@@ -1157,10 +1157,6 @@ int CDVDPlayerVideo::OutputPicture(const DVDVideoPicture* src, double pts)
     iFrameSleep = 0;
   }
 
-  // dropping to a very low framerate is not correct (it should not happen at all)
-  iClockSleep = min(iClockSleep, DVD_MSEC_TO_TIME(500));
-  iFrameSleep = min(iFrameSleep, DVD_MSEC_TO_TIME(500));
-
   if( m_stalled )
     iSleepTime = iFrameSleep;
   else