Checking for VPS control is now limited to local timers

This commit is contained in:
Klaus Schmidinger 2025-01-13 12:34:18 +01:00
parent a7071f580e
commit 2c6c014dd8
2 changed files with 4 additions and 3 deletions

View File

@ -10034,7 +10034,7 @@ Video Disk Recorder Revision History
(suggested by Stefan Hofmann). (suggested by Stefan Hofmann).
- Added vdrrootdir and incdir to vdr.pc (thanks to Stefan Hofmann). - Added vdrrootdir and incdir to vdr.pc (thanks to Stefan Hofmann).
2025-01-10: 2025-01-13:
- Removed all DEPRECATED_* code. - Removed all DEPRECATED_* code.
- Fixed error checking in case the fps value can't be determined by the frame parser. - Fixed error checking in case the fps value can't be determined by the frame parser.
@ -10048,3 +10048,4 @@ Video Disk Recorder Revision History
- Fixed accessing a timer's event schedule in case the event has been removed from the - Fixed accessing a timer's event schedule in case the event has been removed from the
schedule. schedule.
- Fixed a possible deadlock when canceling an editing process. - Fixed a possible deadlock when canceling an editing process.
- Checking for VPS control is now limited to local timers.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: timers.c 5.23 2025/01/10 16:11:02 kls Exp $ * $Id: timers.c 5.24 2025/01/13 12:34:18 kls Exp $
*/ */
#include "timers.h" #include "timers.h"
@ -612,7 +612,7 @@ bool cTimer::Matches(time_t t, bool Directly, int Margin) const
return false; return false;
deferred = 0; deferred = 0;
if (HasFlags(tfActive)) { if (HasFlags(tfActive) && !Remote()) {
if (event) { if (event) {
if (HasFlags(tfVps)) { if (HasFlags(tfVps)) {
if (event->Vps()) { if (event->Vps()) {