diff options
author | Constantin Kaplinsky <const@tightvnc.com> | 2002-09-22 12:36:20 +0000 |
---|---|---|
committer | Constantin Kaplinsky <const@tightvnc.com> | 2002-09-22 12:36:20 +0000 |
commit | 7cc7762fae5bd057fab18b7d730055b2f1520a8b (patch) | |
tree | 63cf1bc3c1c0b30ffa0f02dcbf3d22d03bb691ba /java | |
parent | 282aaa1abe8f24a7c57f33ee9f78de49e66cd0e8 (diff) | |
download | tigervnc-7cc7762fae5bd057fab18b7d730055b2f1520a8b.tar.gz tigervnc-7cc7762fae5bd057fab18b7d730055b2f1520a8b.zip |
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
Diffstat (limited to 'java')
-rw-r--r-- | java/src/com/tightvnc/rfbplayer/FbsInputStream.java | 2 |
1 files changed, 1 insertions, 1 deletions
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() |