summaryrefslogtreecommitdiff
path: root/cutter.c
diff options
context:
space:
mode:
Diffstat (limited to 'cutter.c')
-rw-r--r--cutter.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/cutter.c b/cutter.c
index b596f3f4..42f3ab37 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 1.17 2007/08/25 10:33:18 kls Exp $
+ * $Id: cutter.c 1.18 2008/01/13 12:22:21 kls Exp $
*/
#include "cutter.h"
@@ -111,7 +111,9 @@ void cCuttingThread::Action(void)
}
}
else {
- error = "index";
+ // Error, unless we're past the last cut-in and there's no cut-out
+ if (Mark || LastMark)
+ error = "index";
break;
}