From 4fcd3ba56e37ced65a7591d9165322154ed86fce Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 26 Jan 2015 10:20:51 +0100 Subject: Added functionality based on the "jumpplay" patch --- recording.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recording.c') diff --git a/recording.c b/recording.c index 7832d0f8..079e0de2 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 3.23 2015/01/23 15:12:47 kls Exp $ + * $Id: recording.c 3.24 2015/01/25 15:39:24 kls Exp $ */ #include "recording.h" @@ -2072,7 +2072,7 @@ bool cMarks::Load(const char *RecordingFileName, double FramesPerSecond, bool Is bool cMarks::Update(void) { time_t t = time(NULL); - if (t > nextUpdate) { + if (t > nextUpdate && *fileName) { time_t LastModified = LastModifiedTime(fileName); if (LastModified != lastFileTime) // change detected, or first run lastChange = LastModified > 0 ? LastModified : t; -- cgit v1.2.3