diff options
author | Jochen Dolze <vdr@dolze.de> | 2010-08-03 18:33:00 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2010-08-03 18:33:00 +0200 |
commit | fe701af3c1ebffea28edd89ec4fa97ea82c82cca (patch) | |
tree | 414987d2767164d7900ae1c68e8e91b2e4bbf9ca /command/marks.h | |
parent | 800fdfef53335279b99db9118f6b2972c957376b (diff) | |
download | vdr-plugin-markad-fe701af3c1ebffea28edd89ec4fa97ea82c82cca.tar.gz vdr-plugin-markad-fe701af3c1ebffea28edd89ec4fa97ea82c82cca.tar.bz2 |
Index repair now done by markad instead of genindex - and for TS too!
Diffstat (limited to 'command/marks.h')
-rw-r--r-- | command/marks.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/command/marks.h b/command/marks.h index 06c1235..6ffedad 100644 --- a/command/marks.h +++ b/command/marks.h @@ -70,6 +70,7 @@ uint16_t number: char *IndexToHMSF(int Index, double FramesPerSecond); int count; int savedcount; + int indexfd; public: clMarks() { @@ -77,6 +78,7 @@ public: first=last=NULL; savedcount=0; count=0; + indexfd=-1; } ~clMarks(); int Count(int Type=0xFF); @@ -107,6 +109,9 @@ public: bool Backup(const char *Directory, bool isTS); bool Save(const char *Directory, double FrameRate, bool isTS); bool CheckIndex(const char *Directory, bool isTS, bool *IndexError); + void WriteIndex(const char *Directory, bool isTS, uint64_t Offset, + int FrameType, int Number); + void CloseIndex(const char *Directory, bool isTS); }; #endif |