From b19e6d071f3fb4d02d21fd4e80275a22c97464b3 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 3 Nov 2012 11:25:13 +0100 Subject: Fixed shifting editing marks towards the next I-frame in case of PES recordings --- recording.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recording.c') 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) { -- cgit v1.2.3