FbsInputStrea::getTimeOffset must return the current seesion time.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@145 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfbplayer/FbsInputStream.cxx b/rfbplayer/FbsInputStream.cxx
index 7000c14..4b5da6f 100644
--- a/rfbplayer/FbsInputStream.cxx
+++ b/rfbplayer/FbsInputStream.cxx
@@ -197,8 +197,8 @@
//
long FbsInputStream::getTimeOffset() {
- long off = max(seekOffset, timeOffset);
- return (long)(off * playbackSpeed);
+ //long off = max(seekOffset, timeOffset);
+ return (long)(timeOffset * playbackSpeed);
}
void FbsInputStream::setTimeOffset(long pos) {