summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-05-03 16:06:54 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-05-03 16:06:54 +0200
commit5d2cb386a0a6ff9313f78dadcb2c91f5d47a5530 (patch)
tree1c96e110f030da13ae239b30d8f35267cca306bb
parent04d356f805908c75d66181d4d75eb7f4d3a1bcb1 (diff)
downloadvdr-5d2cb386a0a6ff9313f78dadcb2c91f5d47a5530.tar.gz
vdr-5d2cb386a0a6ff9313f78dadcb2c91f5d47a5530.tar.bz2
Fixed skipping forward in time shift mode near the end of the recording
-rw-r--r--CONTRIBUTORS3
-rw-r--r--HISTORY2
-rw-r--r--dvbapi.c5
3 files changed, 7 insertions, 3 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index a9cdc4ca..6d1b13ec 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -325,3 +325,6 @@ Ulrich Petri <ulope@gmx.de>
Oliver Lorei <oliverlorei@cityweb.de>
for his support in keeping the Premiere World channels up to date in 'channels.conf.cable'
+
+Andreas Böttger <fboettger@t-online.de>
+ for reporting a bug in skipping forward in time shift mode near the end of the recording
diff --git a/HISTORY b/HISTORY
index a5f15585..8cc945d1 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1236,3 +1236,5 @@ Video Disk Recorder Revision History
- Updated 'channels.conf.cable' for the new PW settings (thanks to Oliver Lorei
and Stephan Schreiber). Note that all channels may have moved, so you should
carefully check any timers you have set!
+- Fixed skipping forward in time shift mode near the end of the recording (thanks
+ to Andreas Böttger for reporting this one).
diff --git a/dvbapi.c b/dvbapi.c
index 0006e436..77e53726 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbapi.c 1.173 2002/04/21 11:55:48 kls Exp $
+ * $Id: dvbapi.c 1.174 2002/05/03 15:59:32 kls Exp $
*/
#include "dvbapi.h"
@@ -279,8 +279,7 @@ bool cIndexFile::Get(int Index, uchar *FileNumber, int *FileOffset, uchar *Pictu
int cIndexFile::GetNextIFrame(int Index, bool Forward, uchar *FileNumber, int *FileOffset, int *Length, bool StayOffEnd)
{
if (index) {
- if (Forward)
- CatchUp();
+ CatchUp();
int d = Forward ? 1 : -1;
for (;;) {
Index += d;