diff options
Diffstat (limited to 'rotord/rotor.cpp')
| -rwxr-xr-x | rotord/rotor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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){ |
