summaryrefslogtreecommitdiff
path: root/recording.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-09-05 14:16:52 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-09-05 14:16:52 +0200
commitf7a1954fe3f64da98c0ee7a638be4e51d5b7b227 (patch)
tree264b85b8d3c8511c8a66cddb5d59c05d56f830a2 /recording.h
parente64ab2a2a7360bc42cdea28b57f77a632cc8ab4e (diff)
downloadvdr-f7a1954fe3f64da98c0ee7a638be4e51d5b7b227.tar.gz
vdr-f7a1954fe3f64da98c0ee7a638be4e51d5b7b227.tar.bz2
Fixed a long delay at the end when replaying a recording that has stopped recording less than an hour ago
Diffstat (limited to 'recording.h')
-rw-r--r--recording.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/recording.h b/recording.h
index 8e712306..f08fd0b0 100644
--- a/recording.h
+++ b/recording.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.h 2.34 2012/06/09 13:55:22 kls Exp $
+ * $Id: recording.h 2.35 2012/09/05 11:25:33 kls Exp $
*/
#ifndef __RECORDING_H
@@ -275,6 +275,11 @@ private:
cResumeFile resumeFile;
cIndexFileGenerator *indexFileGenerator;
cMutex mutex;
+ static cMutex indexListMutex;
+ static cVector<const cIndexFile *> indexList;
+ static void AddToIndexList(const cIndexFile *IndexFile);
+ static void RemoveFromIndexList(const cIndexFile *IndexFile);
+ static bool IsInIndexList(const cIndexFile *IndexFile);
static cString IndexFileName(const char *FileName, bool IsPesRecording);
void ConvertFromPes(tIndexTs *IndexTs, int Count);
void ConvertToPes(tIndexTs *IndexTs, int Count);