1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed resetting the file size when regenerating the index file

This commit is contained in:
Klaus Schmidinger 2009-11-22 19:55:45 +01:00
parent 2d5dfd72de
commit a5e9da1de3
3 changed files with 14 additions and 7 deletions

View File

@ -6196,3 +6196,7 @@ Video Disk Recorder Revision History
cause nothing but trouble. Besides, the core VDR doesn't use this, anyway. 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 - Fixed the default value for "Pause key handling" in the MANUAL (reported by
Diego Pierotto). Diego Pierotto).
2009-11-22: Version 1.7.11
- Fixed resetting the file size when regenerating the index file.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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 #ifndef __CONFIG_H
@ -22,13 +22,13 @@
// VDR's own version number: // VDR's own version number:
#define VDRVERSION "1.7.10" #define VDRVERSION "1.7.11"
#define VDRVERSNUM 10710 // Version * 10000 + Major * 100 + Minor #define VDRVERSNUM 10711 // Version * 10000 + Major * 100 + Minor
// The plugin API's version number: // The plugin API's version number:
#define APIVERSION "1.7.10" #define APIVERSION "1.7.11"
#define APIVERSNUM 10710 // Version * 10000 + Major * 100 + Minor #define APIVERSNUM 10711 // Version * 10000 + Major * 100 + Minor
// When loading plugins, VDR searches them by their APIVERSION, which // When loading plugins, VDR searches them by their APIVERSION, which
// may be smaller than VDRVERSION in case there have been no changes to // may be smaller than VDRVERSION in case there have been no changes to

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "recording.h"
@ -1412,8 +1412,11 @@ void cIndexFileGenerator::Action(void)
// Read data: // Read data:
else if (ReplayFile) { else if (ReplayFile) {
int Result = Buffer.Read(ReplayFile, BufferChunks); int Result = Buffer.Read(ReplayFile, BufferChunks);
if (Result == 0) // EOF if (Result == 0) { // EOF
ReplayFile = FileName.NextFile(); ReplayFile = FileName.NextFile();
FileSize = 0;
FrameOffset = -1;
}
} }
// Recording has been processed: // Recording has been processed:
else { else {