I'm afraid I forgot to reset the file size when regenerating the
index file. This should fix this in case the recording is split
over several files:

--- recording.c 2009/11/22 11:20:53     2.18
+++ recording.c 2009/11/22 19:38:04
@@ -1412,8 +1412,11 @@
         // Read data:
         else if (ReplayFile) {
            int Result = Buffer.Read(ReplayFile, BufferChunks);
-           if (Result == 0) // EOF
+           if (Result == 0) { // EOF
               ReplayFile = FileName.NextFile();
+              FileSize = 0;
+              FrameOffset = -1;
+              }
            }
         // Recording has been processed:
         else {


Klaus

_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to