Fixed generating the index for recordings from channels that put a whole GOP into one payload unit; regenerating index file

This commit is contained in:
Klaus Schmidinger
2009-11-22 11:30:27 +01:00
parent 2db303d6f5
commit 8ffbea3788
33 changed files with 570 additions and 179 deletions

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: recording.h 2.9 2009/08/16 10:45:00 kls Exp $
* $Id: recording.h 2.10 2009/11/21 16:12:55 kls Exp $
*/
#ifndef __RECORDING_H
@@ -220,6 +220,7 @@ public:
#define MAXVIDEOFILESIZEDEFAULT MAXVIDEOFILESIZEPES
struct tIndexTs;
class cIndexFileGenerator;
class cIndexFile {
private:
@@ -229,6 +230,7 @@ private:
tIndexTs *index;
bool isPesRecording;
cResumeFile resumeFile;
cIndexFileGenerator *indexFileGenerator;
cMutex mutex;
void ConvertFromPes(tIndexTs *IndexTs, int Count);
void ConvertToPes(tIndexTs *IndexTs, int Count);
@@ -245,6 +247,7 @@ public:
int GetResume(void) { return resumeFile.Read(); }
bool StoreResume(int Index) { return resumeFile.Save(Index); }
bool IsStillRecording(void);
void Delete(void);
};
class cFileName {