summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-11-04 15:27:44 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-11-04 15:27:44 +0100
commitf98ae169e1f6e2f3aa1f350c1c2331c0519dda29 (patch)
tree042c60ff568232fd13bee8b017ed8b32c9af5cd0
parent1e3d1e0f0b3def408c78856333a8201cb35b4bf9 (diff)
downloadvdr-f98ae169e1f6e2f3aa1f350c1c2331c0519dda29.tar.gz
vdr-f98ae169e1f6e2f3aa1f350c1c2331c0519dda29.tar.bz2
Fixed regenerating the index in case the recording spans over several files (was a side effect of the new frame detection)
-rw-r--r--recording.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/recording.c b/recording.c
index bfe0fec9..b5cc02dd 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.69 2012/11/03 11:25:13 kls Exp $
+ * $Id: recording.c 2.70 2012/11/04 15:27:44 kls Exp $
*/
#include "recording.h"
@@ -1584,6 +1584,7 @@ void cIndexFileGenerator::Action(void)
ReplayFile = FileName.NextFile();
FileSize = 0;
FrameOffset = -1;
+ Buffer.Clear();
}
}
// Recording has been processed: