diff --git a/HISTORY b/HISTORY index 70321b01..de97149c 100644 --- a/HISTORY +++ b/HISTORY @@ -6196,3 +6196,7 @@ Video Disk Recorder Revision History cause nothing but trouble. Besides, the core VDR doesn't use this, anyway. - Fixed the default value for "Pause key handling" in the MANUAL (reported by Diego Pierotto). + +2009-11-22: Version 1.7.11 + +- Fixed resetting the file size when regenerating the index file. diff --git a/config.h b/config.h index 6afe902a..f0cc67b7 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 2.15 2009/08/29 12:47:03 kls Exp $ + * $Id: config.h 2.16 2009/11/22 19:55:04 kls Exp $ */ #ifndef __CONFIG_H @@ -22,13 +22,13 @@ // VDR's own version number: -#define VDRVERSION "1.7.10" -#define VDRVERSNUM 10710 // Version * 10000 + Major * 100 + Minor +#define VDRVERSION "1.7.11" +#define VDRVERSNUM 10711 // Version * 10000 + Major * 100 + Minor // The plugin API's version number: -#define APIVERSION "1.7.10" -#define APIVERSNUM 10710 // Version * 10000 + Major * 100 + Minor +#define APIVERSION "1.7.11" +#define APIVERSNUM 10711 // Version * 10000 + Major * 100 + Minor // When loading plugins, VDR searches them by their APIVERSION, which // may be smaller than VDRVERSION in case there have been no changes to diff --git a/recording.c b/recording.c index ab94c32a..a6cba893 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 2.18 2009/11/22 11:20:53 kls Exp $ + * $Id: recording.c 2.19 2009/11/22 19:38:04 kls Exp $ */ #include "recording.h" @@ -1412,8 +1412,11 @@ void cIndexFileGenerator::Action(void) // 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 {