summaryrefslogtreecommitdiff
path: root/cutter.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-05-02 09:17:55 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2013-05-02 09:17:55 +0200
commitd8e8941c77e87433d02f9fe54afcae7d1d05f578 (patch)
tree6119b65719e3b78a066b14a7cd186fe0fc98ed37 /cutter.c
parentd32498f65f20e60c7b928e7c5e60674629469f13 (diff)
downloadvdr-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cutter.c b/cutter.c
index 05bb0f9f..c4f053cc 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 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());