summaryrefslogtreecommitdiff
path: root/recorder.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-02-21 09:20:36 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-02-21 09:20:36 +0100
commit6d59e2866b91b5787dbe4d46955df70bd5a1e8fe (patch)
tree225f28cbaae71cb256f81e4240cc30deba2dc38f /recorder.c
parentda139032284109613b8996113b84928de071e3c6 (diff)
downloadvdr-6d59e2866b91b5787dbe4d46955df70bd5a1e8fe.tar.gz
vdr-6d59e2866b91b5787dbe4d46955df70bd5a1e8fe.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 38a4ed1e..3d6b8063 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 3.2 2014/01/01 12:46:37 kls Exp $
+ * $Id: recorder.c 3.3 2014/02/21 09:19:52 kls Exp $
*/
#include "recorder.h"
@@ -155,13 +155,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);