diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-05-02 09:17:55 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-05-02 09:17:55 +0200 |
commit | d8e8941c77e87433d02f9fe54afcae7d1d05f578 (patch) | |
tree | 6119b65719e3b78a066b14a7cd186fe0fc98ed37 /cutter.c | |
parent | d32498f65f20e60c7b928e7c5e60674629469f13 (diff) | |
download | vdr-d8e8941c77e87433d02f9fe54afcae7d1d05f578.tar.gz vdr-d8e8941c77e87433d02f9fe54afcae7d1d05f578.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 3.1 2013/05/02 09:09:21 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()); |