summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-07-14 12:34:44 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-07-14 12:34:44 +0200
commit17699edebbb2a123044ce30775eaf984ef9f7bd9 (patch)
treed0c2329ad3980b746eb846d94ec410246cfe9ce7
parent562dbb818be511f93a15f26ea9c21989cd5b171f (diff)
downloadvdr-17699edebbb2a123044ce30775eaf984ef9f7bd9.tar.gz
vdr-17699edebbb2a123044ce30775eaf984ef9f7bd9.tar.bz2
Fixed a hangup when switching to the next file during replay
-rw-r--r--HISTORY3
-rw-r--r--dvbplayer.c3
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;