diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-06-14 14:48:34 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-06-14 14:48:34 +0100 |
| commit | 98e9e8998f8fe1f9793610b58bb4e5e8f8145526 (patch) | |
| tree | 5e2eba9eb115bd90b710ff440cdefbd28d83f57d /rotord/rotor.cpp | |
| parent | fcf506ec84bfd0e7d1254fef5c5f391e27c57674 (diff) | |
variable size video decoder
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 da5614a..690b219 100755 --- a/rotord/rotor.cpp +++ b/rotord/rotor.cpp @@ -378,7 +378,7 @@ Image* Video_loader::output(const Frame_spec &frame){ if (isLoaded){ int wanted=((int) (frame.time*frame.framerate))%(player.getNumberOfFrames()-2); //-2?? - player.fetchFrame(wanted); + player.fetchFrame(frame.w,frame.h,wanted); image.setup_fromRGB(frame.w,frame.h,player.pFrameRGB->data[0]); return ℑ } |
