summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-15 10:42:35 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-15 10:42:35 +0200
commit37754870e0868f41549c63941ed4a236751e70e4 (patch)
treefb05baa28e7f6f44727b87bde3b0b5fa021a908f
parentda75e89a0bbabc067054fed6958e7e851b6ea78e (diff)
downloadvdr-37754870e0868f41549c63941ed4a236751e70e4.tar.gz
vdr-37754870e0868f41549c63941ed4a236751e70e4.tar.bz2
Fixed trickmode handling in DVD replay
-rw-r--r--dvbapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dvbapi.c b/dvbapi.c
index 208bcb92..07999a01 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -7,7 +7,7 @@
* DVD support initially written by Andreas Schultz <aschultz@warp10.net>
* based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si>
*
- * $Id: dvbapi.c 1.117 2001/09/14 14:25:33 kls Exp $
+ * $Id: dvbapi.c 1.118 2001/09/15 10:42:35 kls Exp $
*/
//#define DVDDEBUG 1
@@ -1729,7 +1729,7 @@ void cDVDplayBuffer::Input(void)
case cREADFRAME:
{
- bool trickMode = (playMode != pmPlay);
+ bool trickMode = (playMode == pmFast || (playMode == pmSlow && playDir == pdBackward));
/* FIXME:
* the entire trickMode code relies on the assumtion
@@ -1765,7 +1765,7 @@ void cDVDplayBuffer::Input(void)
case cOUTFRAMES:
{
- bool trickMode = (playMode != pmPlay);
+ bool trickMode = (playMode == pmFast || (playMode == pmSlow && playDir == pdBackward));
/**
* Output cursize packs.