summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-11-03 11:25:13 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-11-03 11:25:13 +0100
commitb19e6d071f3fb4d02d21fd4e80275a22c97464b3 (patch)
treed24096e20beca2cbc774445448d763ed0da2d337
parent57a3169013f67c8af7ab9ee505cf3b254b912168 (diff)
downloadvdr-b19e6d071f3fb4d02d21fd4e80275a22c97464b3.tar.gz
vdr-b19e6d071f3fb4d02d21fd4e80275a22c97464b3.tar.bz2
Fixed shifting editing marks towards the next I-frame in case of PES recordings
-rw-r--r--recording.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recording.c b/recording.c
index 0edfe245..bfe0fec9 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.68 2012/11/01 11:51:52 kls Exp $
+ * $Id: recording.c 2.69 2012/11/03 11:25:13 kls Exp $
*/
#include "recording.h"
@@ -1401,7 +1401,7 @@ bool cMarks::Update(void)
void cMarks::Align(void)
{
- cIndexFile IndexFile(recordingFileName, isPesRecording);
+ cIndexFile IndexFile(recordingFileName, false, isPesRecording);
for (cMark *m = First(); m; m = Next(m)) {
int p = IndexFile.GetClosestIFrame(m->Position());
if (int d = m->Position() - p) {