From 377811ea599c4278cb2999acedde6bda5d25abba Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Thu, 10 Feb 2011 23:21:41 +0100 Subject: Fixed the compilation for VDR versions prior to introduction of TS recordings. --- recman.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recman.cpp b/recman.cpp index e9150b6..ee3e3d2 100644 --- a/recman.cpp +++ b/recman.cpp @@ -132,7 +132,11 @@ namespace vdrlive { return; //dsyslog("[LIVE]: deleting resume '%s'", recording->Name()); +#if VDRVERSNUM < 10704 + cResumeFile ResumeFile(recording->FileName()); +#else cResumeFile ResumeFile(recording->FileName(), recording->IsPesRecording()); +#endif ResumeFile.Delete(); } -- cgit v1.2.3