diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2008-01-13 12:23:39 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2008-01-13 12:23:39 +0100 |
commit | 29871d8585713d16fde2f1f8677c966e5ec7b101 (patch) | |
tree | 535befb952988b1a0f2558350987d181d16b3d19 /cutter.c | |
parent | 2355fa852b8dd85d12520e29dd3198b101c85891 (diff) | |
download | vdr-29871d8585713d16fde2f1f8677c966e5ec7b101.tar.gz vdr-29871d8585713d16fde2f1f8677c966e5ec7b101.tar.bz2 |
Fixed error handling in cCuttingThread::Action()
Diffstat (limited to 'cutter.c')
-rw-r--r-- | cutter.c | 6 |
1 files changed, 4 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 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; } |