]> source.dussan.org Git - tigervnc.git/commitdiff
Bugfix -- seeking backwards worked incorrectly when playback speed was
authorConstantin Kaplinsky <const@tightvnc.com>
Sun, 22 Sep 2002 12:36:20 +0000 (12:36 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Sun, 22 Sep 2002 12:36:20 +0000 (12:36 +0000)
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

index 2e90bc4844488dae3108886850485ce335fe2d77..d2cf5934e08e608df44500f2064123099a8b33ff 100644 (file)
@@ -155,7 +155,7 @@ class FbsInputStream extends InputStream {
 
   public long getSeekOffset()
   {
-    return seekOffset;
+    return (long)(seekOffset * playbackSpeed);
   }
 
   public boolean isPaused()