summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-01 13:27:14 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-01 13:27:14 +0200
commit24b3579d149a45fa3b09cc22aa09a6ac053bd392 (patch)
tree786366b9a92c901a5f4f8e5879af84773e3842ee /vdr.c
parent6b968a6b274fda3d8baeac9591d9d8e8fc43d2cd (diff)
downloadvdr-24b3579d149a45fa3b09cc22aa09a6ac053bd392.tar.gz
vdr-24b3579d149a45fa3b09cc22aa09a6ac053bd392.tar.bz2
VPS timers now record only events that have exactly the given start time
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vdr.c b/vdr.c
index 7ff749bf..2589e2e4 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.251 2006/03/26 09:16:53 kls Exp $
+ * $Id: vdr.c 1.252 2006/04/01 12:55:33 kls Exp $
*/
#include <getopt.h>
@@ -736,8 +736,6 @@ int main(int argc, char *argv[])
PreviousChannel[PreviousChannelIndex ^= 1] = LastChannel;
// Timers and Recordings:
if (!Timers.BeingEdited()) {
- // Delete expired timers:
- Timers.DeleteExpired();
// Assign events to timers:
Timers.SetEvents();
// Must do all following calls with the exact same time!
@@ -768,6 +766,8 @@ int main(int argc, char *argv[])
if (Timer->InVpsMargin())
TimerInVpsMargin = true;
}
+ // Delete expired timers:
+ Timers.DeleteExpired();
}
if (!Menu && Recordings.NeedsUpdate()) {
Recordings.Update();