summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-09 13:57:39 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-09 13:57:39 +0200
commita4520107608cdd4abf38153fd169a78408b18ca0 (patch)
tree60aed7511e4e20e4696fa3606cca4615aa40fe81 /recording.c
parent765f8267a5542af43b405cdb8440c5534a3a2a65 (diff)
downloadvdr-a4520107608cdd4abf38153fd169a78408b18ca0.tar.gz
vdr-a4520107608cdd4abf38153fd169a78408b18ca0.tar.bz2
Changed the behaviour when hitting the end of a recording in fast forward mode
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/recording.c b/recording.c
index 379627c0..fa21df21 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 1.143 2006/03/26 09:11:00 kls Exp $
+ * $Id: recording.c 1.144 2006/04/09 13:49:51 kls Exp $
*/
#include "recording.h"
@@ -1368,6 +1368,11 @@ int cIndexFile::Get(uchar FileNumber, int FileOffset)
return -1;
}
+bool cIndexFile::IsStillRecording()
+{
+ return f >= 0;
+}
+
// --- cFileName -------------------------------------------------------------
#include <errno.h>