From 17699edebbb2a123044ce30775eaf984ef9f7bd9 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 14 Jul 2002 12:34:44 +0200 Subject: Fixed a hangup when switching to the next file during replay --- HISTORY | 3 ++- dvbplayer.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 26c8bb0d..1d95e933 100644 --- a/HISTORY +++ b/HISTORY @@ -1360,7 +1360,7 @@ Video Disk Recorder Revision History + The '-a' option (for Dolby Digital audio) doesn't work yet. + Switching between different language tracks doesn't work yet. -2002-07-13: Version 1.1.5 +2002-07-14: Version 1.1.5 - Added direct access to the index data of cPalette (needed for displaying SPUs, thanks to Andreas Schultz). @@ -1374,3 +1374,4 @@ Video Disk Recorder Revision History but rather just the basic name. This has been changed to allow players that can't provide a name to simply use a string that describes the player type (like, e.g., "DVD"). +- Fixed a hangup when switching to the next file during replay. diff --git a/dvbplayer.c b/dvbplayer.c index 7dd8dd84..d840543a 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.5 2002/07/13 11:11:08 kls Exp $ + * $Id: dvbplayer.c 1.6 2002/07/14 12:24:59 kls Exp $ */ #include "dvbplayer.h" @@ -310,6 +310,7 @@ void cDvbPlayer::Action(void) isyslog("resuming replay at index %d (%s)", readIndex, IndexToHMSF(readIndex, true)); while (active && NextFile()) { + pfd[1].fd = replayFile; // NextFile() may have returned a new file handle! { LOCK_THREAD; -- cgit v1.2.3