summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-07-30 13:05:24 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-07-30 13:05:24 +0200
commitaaa22842782212b222d545c4049e4a8b6f718807 (patch)
treeb35c82db913a216a8857937874b1f4fc001f323d
parent6ebed0fc86fc3827b99fa61f62f6743787144419 (diff)
downloadvdr-aaa22842782212b222d545c4049e4a8b6f718807.tar.gz
vdr-aaa22842782212b222d545c4049e4a8b6f718807.tar.bz2
Fixed handling VPS timers, so that they only record if the event they are assigned to actually has the given VPS time (cont'd, fix, caused repeating VPS timers to stop recording prematurely)
-rw-r--r--HISTORY3
-rw-r--r--timers.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/HISTORY b/HISTORY
index 3dc29f97..180b19de 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3643,3 +3643,6 @@ Video Disk Recorder Revision History
- cDvbPlayer::Goto() now appends a Sequence End Code to get the image shown
immediately with softdevices (thanks to Reinhard Nissl).
- Reactivated cVideoRepacker in remux.c after some fixes (thanks to Reinhard Nissl).
+- Removed the fix for handling VPS timers, so that they only record if the event
+ they are assigned to actually has the given VPS time. This has caused repeating
+ VPS timers to stop recording prematurely.
diff --git a/timers.c b/timers.c
index f6903367..9e80b494 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 1.33 2005/06/18 12:49:55 kls Exp $
+ * $Id: timers.c 1.34 2005/07/30 13:03:51 kls Exp $
*/
#include "timers.h"
@@ -363,8 +363,6 @@ bool cTimer::Matches(time_t t, bool Directly) const
if (HasFlags(tfActive)) {
if (HasFlags(tfVps) && !Directly && event && event->Vps() && schedule && schedule->PresentSeenWithin(30)) {
- if (startTime != event->Vps())
- return false;
startTime = event->StartTime();
stopTime = event->EndTime();
return event->IsRunning(true);