diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-06-02 12:20:13 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-06-02 12:20:13 +0200 |
commit | b41adae497b395d66cbca978a0b1b557aebda070 (patch) | |
tree | d37f6761f824384b128fb6eb37a01ac1df88227f | |
parent | f615bfd8413155415e08cc55b511a00ac3c6e1b2 (diff) | |
download | vdr-b41adae497b395d66cbca978a0b1b557aebda070.tar.gz vdr-b41adae497b395d66cbca978a0b1b557aebda070.tar.bz2 |
Emergency exit if no data received for more than 5 seconds during recording
-rw-r--r-- | dvbapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbapi.c 1.67 2001/06/02 09:31:03 kls Exp $ + * $Id: dvbapi.c 1.68 2001/06/02 12:20:13 kls Exp $ */ #include "dvbapi.h" @@ -534,7 +534,7 @@ void cRecordBuffer::Input(void) break; } } - else if (time(NULL) - t > 5) { + if (time(NULL) - t > 5) { esyslog(LOG_ERR, "ERROR: video data stream broken"); cThread::EmergencyExit(true); } |