summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-01-26 10:20:51 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-01-26 10:20:51 +0100
commit4fcd3ba56e37ced65a7591d9165322154ed86fce (patch)
tree64aa2a908cb80591e5823fbfeef46f960f445b2e /recording.c
parent77c0de71c48759c9eb7b9e23e409cdf965075d40 (diff)
downloadvdr-4fcd3ba56e37ced65a7591d9165322154ed86fce.tar.gz
vdr-4fcd3ba56e37ced65a7591d9165322154ed86fce.tar.bz2
Added functionality based on the "jumpplay" patch
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c4
1 files changed, 2 insertions, 2 deletions
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;