diff options
| author | Comment <tim@gray.(none)> | 2013-07-03 03:11:17 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-07-03 03:11:17 +0100 |
| commit | 94849c54aa11cab253daf12b753119014156c4f5 (patch) | |
| tree | fa9028255cf12a38e5e4a9ae7f4e4ec6750d3a9b | |
| parent | 379251337ac5806cf98047c3fc308d932b1aefab (diff) | |
a note
| -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){ |
