diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2021-01-07 16:00:17 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2021-01-07 16:00:17 +0100 |
commit | f1836af0b05a02f236f0edbcb1e35bbe9e0d1c6f (patch) | |
tree | 21c0f95ca959a790d92bd6ee472ddec3ead8098b /timers.c | |
parent | eebcc57079e25968a3de04266e7c7673c2915419 (diff) | |
download | vdr-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.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: 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; |