From 7cc7762fae5bd057fab18b7d730055b2f1520a8b Mon Sep 17 00:00:00 2001 From: Constantin Kaplinsky Date: Sun, 22 Sep 2002 12:36:20 +0000 Subject: [PATCH] Bugfix -- seeking backwards worked incorrectly when playback speed was not equal to 1. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2527 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- java/src/com/tightvnc/rfbplayer/FbsInputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/tightvnc/rfbplayer/FbsInputStream.java b/java/src/com/tightvnc/rfbplayer/FbsInputStream.java index 2e90bc48..d2cf5934 100644 --- a/java/src/com/tightvnc/rfbplayer/FbsInputStream.java +++ b/java/src/com/tightvnc/rfbplayer/FbsInputStream.java @@ -155,7 +155,7 @@ class FbsInputStream extends InputStream { public long getSeekOffset() { - return seekOffset; + return (long)(seekOffset * playbackSpeed); } public boolean isPaused() -- 2.39.5