hedgewars/uVideoRec.pas
changeset 7379 aa29a2f16cc7
parent 7376 48b79b3ca592
child 7386 e82a076df09b
--- a/hedgewars/uVideoRec.pas	Mon Jul 09 17:03:57 2012 +0400
+++ b/hedgewars/uVideoRec.pas	Mon Jul 09 21:45:30 2012 +0400
@@ -213,7 +213,7 @@
 begin
     LoadNextCameraPosition:= GameTicks;
     // we need to skip or duplicate frames to match target framerate
-    while Int64(curTime)*cVideoFramerateNum < Int64(numFrames)*cVideoFramerateDen*1000 do
+    while Int64(curTime)*cVideoFramerateNum <= Int64(numFrames)*cVideoFramerateDen*1000 do
     begin
     {$IOCHECKS OFF}
         if eof(cameraFile) then