From 94849c54aa11cab253daf12b753119014156c4f5 Mon Sep 17 00:00:00 2001 From: Comment Date: Wed, 3 Jul 2013 03:11:17 +0100 Subject: a note --- rotord/rotor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rotord/rotor.cpp') diff --git a/rotord/rotor.cpp b/rotord/rotor.cpp index 7985c40..67918f5 100755 --- a/rotord/rotor.cpp +++ b/rotord/rotor.cpp @@ -380,7 +380,7 @@ Image* Video_loader::output(const Frame_spec &frame){ */ if (isLoaded){ - int wanted=(((int) ((frame.time*frame.framerate)+0.5))%(player.getNumberOfFrames()))+1; //-2?? this would give division by zero + int wanted=(((int) ((frame.time*frame.framerate)+0.5))%(player.getNumberOfFrames()))+1; //+1 is necessary because 1st frame in a video is number 1? //if (wanted==99){ -- cgit v1.2.3