1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed a hangup when switching to the next file during replay

This commit is contained in:
Klaus Schmidinger 2002-07-14 12:34:44 +02:00
parent 562dbb818b
commit 17699edebb
2 changed files with 4 additions and 2 deletions

View File

@ -1360,7 +1360,7 @@ Video Disk Recorder Revision History
+ The '-a' option (for Dolby Digital audio) doesn't work yet. + The '-a' option (for Dolby Digital audio) doesn't work yet.
+ Switching between different language tracks 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, - Added direct access to the index data of cPalette (needed for displaying SPUs,
thanks to Andreas Schultz). 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 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., provide a name to simply use a string that describes the player type (like, e.g.,
"DVD"). "DVD").
- Fixed a hangup when switching to the next file during replay.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "dvbplayer.h"
@ -310,6 +310,7 @@ void cDvbPlayer::Action(void)
isyslog("resuming replay at index %d (%s)", readIndex, IndexToHMSF(readIndex, true)); isyslog("resuming replay at index %d (%s)", readIndex, IndexToHMSF(readIndex, true));
while (active && NextFile()) { while (active && NextFile()) {
pfd[1].fd = replayFile; // NextFile() may have returned a new file handle!
{ {
LOCK_THREAD; LOCK_THREAD;