diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-04-30 10:22:13 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-04-30 10:22:13 +0200 |
commit | 49ce70fdb39d1505d593da179f52c8f1f0bdcfb1 (patch) | |
tree | 15ebe1aa13b6dad2d3092d70ad1373887038f429 /recording.c | |
parent | f13ded672b7fe1836299ca6d7fc2910c0c9c1109 (diff) | |
download | vdr-49ce70fdb39d1505d593da179f52c8f1f0bdcfb1.tar.gz vdr-49ce70fdb39d1505d593da179f52c8f1f0bdcfb1.tar.bz2 |
Better encapsulation of record control
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recording.c b/recording.c index 46fe53f4..49074524 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 1.6 2000/04/24 09:45:13 kls Exp $ + * $Id: recording.c 1.7 2000/04/30 10:22:13 kls Exp $ */ #define _GNU_SOURCE @@ -62,7 +62,7 @@ void AssertFreeDiskSpace(void) static time_t LastFreeDiskCheck = 0; if (time(NULL) - LastFreeDiskCheck > DISKCHECKDELTA) { LastFreeDiskCheck = time(NULL); - if (DvbApi.Recording() && LowDiskSpace()) { + if (LowDiskSpace()) { // Remove the oldest file that has been "deleted": cRecordings Recordings; if (Recordings.Load(true)) { |