Group :: Video
RPM: vdr
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: vdr-1.3.14-replay.diff
Download
Download
diff -urp vdr-1.3.14-orig/dvbplayer.c vdr-1.3.14-patched/dvbplayer.c
--- vdr-1.3.14-orig/dvbplayer.c 2004-10-23 14:39:35.000000000 +0200
+++ vdr-1.3.14-patched/dvbplayer.c 2004-10-24 17:44:34.000000000 +0200
@@ -436,6 +446,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))