summaryrefslogtreecommitdiff
path: root/cutter.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-05-02 09:23:21 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2013-05-02 09:23:21 +0200
commit1b1fe2c887c0638c7b5ad13f20024d7b281885b1 (patch)
treea9e5f8e6d5cfa834a4ead86d332db752b702b398 /cutter.c
parentfa77b5c2b22e84ab253170875016e946bddf4373 (diff)
downloadvdr-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.c4
1 files changed, 2 insertions, 2 deletions
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());