cDevice::TrickSpeed() now has an additional parameter named Forward

This commit is contained in:
Klaus Schmidinger
2013-12-25 13:36:51 +01:00
parent 21c8829783
commit 4e22b62192
11 changed files with 28 additions and 16 deletions

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: dvbplayer.c 2.35 2013/03/08 13:44:19 kls Exp $
* $Id: dvbplayer.c 3.1 2013/12/25 13:24:07 kls Exp $
*/
#include "dvbplayer.h"
@@ -324,7 +324,7 @@ void cDvbPlayer::TrickSpeed(int Increment)
int sp = (Speeds[nts] > 0) ? Mult / Speeds[nts] : -Speeds[nts] * Mult;
if (sp > MAX_VIDEO_SLOWMOTION)
sp = MAX_VIDEO_SLOWMOTION;
DeviceTrickSpeed(sp);
DeviceTrickSpeed(sp, playDir == pdForward);
}
}