From 4242fa7f22fe31e210640971b2bf21232a23807d Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 23 May 2019 10:00:48 +0200 Subject: Fixed asserting free disk space in case there is no local timer currently recording --- timers.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'timers.h') diff --git a/timers.h b/timers.h index 93d5a447..ccb64090 100644 --- a/timers.h +++ b/timers.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.h 4.11 2018/02/27 13:57:26 kls Exp $ + * $Id: timers.h 4.12 2019/05/23 09:47:19 kls Exp $ */ #ifndef __TIMERS_H @@ -178,6 +178,7 @@ public: cTimer *GetMatch(const cEvent *Event, eTimerMatch *Match = NULL) { return const_cast(static_cast(this)->GetMatch(Event, Match)); } int GetMaxPriority(void) const; ///< Returns the maximum priority of all local timers that are currently recording. + ///< If there is no local timer currently recording, -1 is returned. const cTimer *GetNextActiveTimer(void) const; const cTimer *UsesChannel(const cChannel *Channel) const; bool SetEvents(const cSchedules *Schedules); -- cgit v1.2.3