From 01d295eafd4e505b40d8274c7e8c86071f69e335 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Mon, 13 Nov 2006 23:31:52 +0000 Subject: [PATCH] Update scan speeds --- player.cc | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/player.cc b/player.cc index 173fc01..75297c3 100644 --- a/player.cc +++ b/player.cc @@ -36,7 +36,7 @@ Player::Player(MessageQueue* tmessageQueue, void* tmessageReceiver, bool tIsReco lengthFrames = 0; currentFrameNumber = 0; state = S_STOP; - ifactor = 2; + ifactor = 4; videoStartup = false; preBuffering = false; @@ -205,16 +205,15 @@ void Player::fastForward() // change the rate switch(ifactor) { - case 2: ifactor = 4; break; case 4: ifactor = 8; break; case 8: ifactor = 16; break; - case 16: ifactor = 64; break; - case 64: ifactor = 2; break; + case 16: ifactor = 32; break; + case 32: ifactor = 4; break; } } else { - ifactor = 2; + ifactor = 4; switchState(S_FFWD); } unLock(); @@ -230,16 +229,15 @@ void Player::fastBackward() // change the rate switch(ifactor) { - case 2: ifactor = 4; break; case 4: ifactor = 8; break; case 8: ifactor = 16; break; - case 16: ifactor = 64; break; - case 64: ifactor = 2; break; + case 16: ifactor = 32; break; + case 32: ifactor = 4; break; } } else { - ifactor = 2; + ifactor = 4; switchState(S_FBWD); } unLock(); -- 2.39.5