summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-08-11 15:48:54 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-08-11 15:48:54 +0200
commitf7fff8b7be0cf0017cd83302439d3b44048669dc (patch)
treeccf8bcc398037f983e872a59029ec7ca506f93e9 /vdr.c
parent0b73f060d0a3b72bfac3da139d2cb0e40b1a78bc (diff)
downloadvdr-f7fff8b7be0cf0017cd83302439d3b44048669dc.tar.gz
vdr-f7fff8b7be0cf0017cd83302439d3b44048669dc.tar.bz2
If there is no free DVB device to record, the log message will now be given only once
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/vdr.c b/vdr.c
index b18d838e..af305419 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
- * $Id: vdr.c 1.62 2001/08/11 09:38:12 kls Exp $
+ * $Id: vdr.c 1.63 2001/08/11 15:33:30 kls Exp $
*/
#include <getopt.h>
@@ -325,9 +325,8 @@ int main(int argc, char *argv[])
if (!Menu) {
cTimer *Timer = cTimer::GetMatch();
if (Timer) {
- if (!cRecordControls::Start(Timer)) {
- //TODO need to do something to prevent the timer from hitting over and over again...
- }
+ if (!cRecordControls::Start(Timer))
+ Timer->SetPending(true);
}
cRecordControls::Process();
}