diff options
Diffstat (limited to 'rotord/src/rotor.h')
| -rw-r--r-- | rotord/src/rotor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index baf5615..385c3fe 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -936,7 +936,7 @@ namespace Rotor { wanted=fmod(frame.time*frame.framerate*clipspeed,(float)player.get_number_frames()); break; case VIDEOTIME_stretch: - wanted=fmod(frame.time*frame.framerate*clipspeed,(float)player.get_number_frames()); + wanted=fmod((frame.time/frame.duration)*((float)player.get_number_frames())*clipspeed,(float)player.get_number_frames()); break; } if (attributes["frame_mode"]->intVal==VIDEOFRAMES_blend){ |
