summaryrefslogtreecommitdiff
path: root/dvbplayer.c
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 /dvbplayer.c
parent562dbb818be511f93a15f26ea9c21989cd5b171f (diff)
downloadvdr-17699edebbb2a123044ce30775eaf984ef9f7bd9.tar.gz
vdr-17699edebbb2a123044ce30775eaf984ef9f7bd9.tar.bz2
Fixed a hangup when switching to the next file during replay
Diffstat (limited to 'dvbplayer.c')
-rw-r--r--dvbplayer.c3
1 files changed, 2 insertions, 1 deletions
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;