Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] BUGFIX: reaching end of recording in trickspeed mode
Hi,
the attached patch lets VDR end replay mode when it reaches the end of the
recording in trickspeed mode.
Before this patch, VDR was switching to pmPlay and ended recording mode a few
seconds later.
Bye.
--
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl@gmx.de
diff -Nurp vdr-1.3.11-orig/dvbplayer.c vdr-1.3.11-patched/dvbplayer.c
--- vdr-1.3.11-orig/dvbplayer.c 2004-06-19 10:55:49.000000000 +0200
+++ vdr-1.3.11-patched/dvbplayer.c 2004-06-27 21:39:27.242089000 +0200
@@ -438,6 +447,12 @@ void cDvbPlayer::Action(void)
continue;
}
else {
+ // hit end of recording: signal end of file but don't change playMode
+ if (playDir == pdForward) {
+ readIndex = -1;
+ eof = true;
+ continue;
+ }
// hit begin of recording: wait for device buffers to drain
// before changing play mode:
if (!DeviceFlush(100))
Home |
Main Index |
Thread Index