From 37754870e0868f41549c63941ed4a236751e70e4 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 15 Sep 2001 10:42:35 +0200 Subject: Fixed trickmode handling in DVD replay --- dvbapi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dvbapi.c') 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 * based on dvdplayer-0.5 by Matjaz Thaler * - * $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. -- cgit v1.2.3