diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-05-02 09:23:21 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-05-02 09:23:21 +0200 |
commit | 1b1fe2c887c0638c7b5ad13f20024d7b281885b1 (patch) | |
tree | a9e5f8e6d5cfa834a4ead86d332db752b702b398 /cutter.c | |
parent | fa77b5c2b22e84ab253170875016e946bddf4373 (diff) | |
download | vdr-1b1fe2c887c0638c7b5ad13f20024d7b281885b1.tar.gz vdr-1b1fe2c887c0638c7b5ad13f20024d7b281885b1.tar.bz2 |
Fixed no longer generating any editing marks if the edited recording results in just one single sequence
Diffstat (limited to 'cutter.c')
-rw-r--r-- | cutter.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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()); |