summaryrefslogtreecommitdiff
path: root/recorder.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-02-21 09:21:45 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-02-21 09:21:45 +0100
commitd55c134333ca4e464713c83264c3ce426f891ba7 (patch)
tree31a8d73f98f62b978d4f40a2e416cd467a1ed6dd /recorder.c
parenta179b725b7bda5019069fa58fc510fc5379a088e (diff)
downloadvdr-d55c134333ca4e464713c83264c3ce426f891ba7.tar.gz
vdr-d55c134333ca4e464713c83264c3ce426f891ba7.tar.bz2
Fixed detecting broken video data streams when recording
Diffstat (limited to 'recorder.c')
-rw-r--r--recorder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recorder.c b/recorder.c
index 88c52d9a..7eee925b 100644
--- a/recorder.c
+++ b/recorder.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recorder.c 2.17.1.1 2013/10/12 12:10:05 kls Exp $
+ * $Id: recorder.c 2.17.1.2 2014/02/21 09:21:30 kls Exp $
*/
#include "recorder.h"
@@ -154,13 +154,13 @@ void cRecorder::Action(void)
recordFile->Write(pmt, TS_SIZE);
fileSize += TS_SIZE;
}
+ t.Set(MAXBROKENTIMEOUT);
}
if (recordFile->Write(b, Count) < 0) {
LOG_ERROR_STR(fileName->Name());
break;
}
fileSize += Count;
- t.Set(MAXBROKENTIMEOUT);
}
}
ringBuffer->Del(Count);