diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-11-22 19:55:45 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-11-22 19:55:45 +0100 |
commit | a5e9da1de35a23371e2ecbeeafbcf65c9aa45093 (patch) | |
tree | 6148817c0464df5dca4d2b007f8fed617f21ee00 | |
parent | 2d5dfd72de1ad54fb82fd4fa1709edfdb5b2b532 (diff) | |
download | vdr-a5e9da1de35a23371e2ecbeeafbcf65c9aa45093.tar.gz vdr-a5e9da1de35a23371e2ecbeeafbcf65c9aa45093.tar.bz2 |
Fixed resetting the file size when regenerating the index file
-rw-r--r-- | HISTORY | 4 | ||||
-rw-r--r-- | config.h | 10 | ||||
-rw-r--r-- | recording.c | 7 |
3 files changed, 14 insertions, 7 deletions
@@ -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. @@ -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 { |