]> source.dussan.org Git - tigervnc.git/commitdiff
A better version of the previous bugfix.
authorConstantin Kaplinsky <const@tightvnc.com>
Sun, 22 Sep 2002 11:33:22 +0000 (11:33 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Sun, 22 Sep 2002 11:33:22 +0000 (11:33 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2526 3789f03b-4d11-0410-bbf8-ca57d06f2519

java/src/com/tightvnc/rfbplayer/RfbPlayer.java

index 7d6434843bb24c45efff539075c5090c8339dd16..1cf16abe80d21fa7b9f201a0fa376bee3200c3b3 100644 (file)
@@ -173,14 +173,13 @@ public class RfbPlayer extends java.applet.Applet
            // A special type of EOFException allowing us to seek backwards.
            initialTimeOffset = rfb.fbs.getSeekOffset();
            autoPlay = !rfb.fbs.isPaused();
-           rfb.newSession(url);
          } else {
            // Return to the beginning after the playback is finished.
            initialTimeOffset = 0;
            autoPlay = false;
-           rfb.newSession(url);
-           vc.updateFramebufferSize();
          }
+          rfb.newSession(url);
+          vc.updateFramebufferSize();
        }
       }