summaryrefslogtreecommitdiff
path: root/timers.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-01-07 16:00:17 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2021-01-07 16:00:17 +0100
commitf1836af0b05a02f236f0edbcb1e35bbe9e0d1c6f (patch)
tree21c0f95ca959a790d92bd6ee472ddec3ead8098b /timers.c
parenteebcc57079e25968a3de04266e7c7673c2915419 (diff)
downloadvdr-f1836af0b05a02f236f0edbcb1e35bbe9e0d1c6f.tar.gz
vdr-f1836af0b05a02f236f0edbcb1e35bbe9e0d1c6f.tar.bz2
Fixed VPS handling when spawning a pattern timer, in case Setup.UseVps is false
Diffstat (limited to 'timers.c')
-rw-r--r--timers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/timers.c b/timers.c
index 2f16c8c8..7855bb16 100644
--- a/timers.c
+++ b/timers.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: timers.c 5.1 2020/12/26 15:49:01 kls Exp $
+ * $Id: timers.c 5.2 2021/01/07 16:00:17 kls Exp $
*/
#include "timers.h"
@@ -183,7 +183,7 @@ cTimer::cTimer(const cEvent *Event, const char *FileName, const cTimer *PatternT
remote = NULL;
event = NULL;
if (!PatternTimer || PatternTimer->HasFlags(tfVps)) {
- if (Event->Vps() && Setup.UseVps)
+ if (Event->Vps() && (PatternTimer || Setup.UseVps))
SetFlags(tfVps);
}
LOCK_CHANNELS_READ;