summaryrefslogtreecommitdiff
path: root/dvbplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'dvbplayer.c')
-rw-r--r--dvbplayer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/dvbplayer.c b/dvbplayer.c
index 7d50663..99b3f5c 100644
--- a/dvbplayer.c
+++ b/dvbplayer.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbplayer.c 1.45 2006/04/17 12:45:48 kls Exp $
+ * $Id: dvbplayer.c 1.46 2007/04/28 14:55:22 kls Exp $
*/
#include "dvbplayer.h"
@@ -402,8 +402,10 @@ void cDvbPlayer::Action(void)
bool TimeShiftMode = index->IsStillRecording();
int Index = index->GetNextIFrame(readIndex, playDir == pdForward, &FileNumber, &FileOffset, &Length, TimeShiftMode);
if (Index >= 0) {
- if (!NextFile(FileNumber, FileOffset))
+ if (!NextFile(FileNumber, FileOffset)) {
+ readIndex = Index;
continue;
+ }
}
else {
if (!TimeShiftMode && playDir == pdForward) {