Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37753044
en ru br
ALT Linux repos
S:2.2.0-alt12
D:1.6.0-alt1
3.0: 1.3.15-alt1

Group :: Video
RPM: vdr

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: vdr-1.3.14-replay.diff
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))
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin