diff --git a/engine/src/desktop/com/jme3/app/state/VideoRecorderAppState.java b/engine/src/desktop/com/jme3/app/state/VideoRecorderAppState.java index a939f73f7..e755546cf 100644 --- a/engine/src/desktop/com/jme3/app/state/VideoRecorderAppState.java +++ b/engine/src/desktop/com/jme3/app/state/VideoRecorderAppState.java @@ -58,7 +58,7 @@ public class VideoRecorderAppState extends AbstractAppState { } public long getTime() { - return (long) (this.ticks / this.framerate); + return (long) (this.ticks * (1.0f / this.framerate)); } public long getResolution() {