summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Engel <dengel@mythtv.org>2010-11-27 01:37:04 (GMT)
committer David Engel <dengel@mythtv.org>2010-11-27 01:37:04 (GMT)
commit47054f4f197b6664165effc0d8a936ccda40bb8b (patch)
tree43c0093720c09e354ca0dec18b6afd3671d03416
parent0ec9847c332e15465a2052060242a3b4c97fd02b (diff)
Fix the respnse time repositioning when exiting FF/Rew. It was broken
in [26483] when a called to DoJumpToFrame() was added and overwrote the repositioning that was still pending. This change accounts for the repositioning when calling DoJumpToFrame(). git-svn-id: http://svn.mythtv.org/svn/trunk@27356 7dbf422c-18fa-0310-86e9-fd20926502f2
-rw-r--r--mythtv/libs/libmythtv/mythplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmythtv/mythplayer.cpp b/mythtv/libs/libmythtv/mythplayer.cpp
index 4d219ca..7361e8f 100644
--- a/mythtv/libs/libmythtv/mythplayer.cpp
+++ b/mythtv/libs/libmythtv/mythplayer.cpp
@@ -3196,7 +3196,7 @@ void MythPlayer::ChangeSpeed(void)
videoOutput->SetPrebuffering(ffrew_skip == 1);
decoder->setExactSeeks(exactseeks && ffrew_skip == 1);
if (play_speed != 0.0f && !(last_speed == 0.0f && ffrew_skip == 1))
- DoJumpToFrame(framesPlayed);
+ DoJumpToFrame(framesPlayed + fftime - rewindtime);
}
VERBOSE(VB_PLAYBACK, LOC + "Play speed: " +