From 1b1fe2c887c0638c7b5ad13f20024d7b281885b1 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 2 May 2013 09:23:21 +0200 Subject: Fixed no longer generating any editing marks if the edited recording results in just one single sequence --- cutter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cutter.c') diff --git a/cutter.c b/cutter.c index 05bb0f9f..6e5e662e 100644 --- a/cutter.c +++ b/cutter.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: cutter.c 2.25 2013/03/18 09:40:49 kls Exp $ + * $Id: cutter.c 2.25.1.1 2013/05/02 09:21:18 kls Exp $ */ #include "cutter.h" @@ -581,7 +581,7 @@ bool cCuttingThread::ProcessSequence(int LastEndIndex, int BeginIndex, int EndIn } fileSize += Length; // Generate marks at the editing points in the edited recording: - if (numSequences > 0 && Index == BeginIndex) { + if (numSequences > 1 && Index == BeginIndex) { if (toMarks.Count() > 0) toMarks.Add(toIndex->Last()); toMarks.Add(toIndex->Last()); -- cgit v1.2.3