summaryrefslogtreecommitdiff
path: root/command/marks.h
diff options
context:
space:
mode:
Diffstat (limited to 'command/marks.h')
-rw-r--r--command/marks.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/command/marks.h b/command/marks.h
index 94ebb91..8deae5b 100644
--- a/command/marks.h
+++ b/command/marks.h
@@ -107,13 +107,16 @@ public:
return last;
}
bool Backup(const char *Directory, bool isTS);
- bool Save(const char *Directory, double FrameRate, bool isTS);
+ bool Load(const char *Directory, double FrameRate, bool isTS);
+ bool Save(const char *Directory, double FrameRate, bool isTS, bool Force=false);
#define IERR_NOTFOUND 1
#define IERR_TOOSHORT 2
#define IERR_SEEK 3
#define IERR_READ 4
#define IERR_FRAME 5
bool CheckIndex(const char *Directory, bool isTS, int FrameCnt, int *IndexError);
+ bool ReadIndex(const char *Directory, bool isTS, int FrameNumber, int Range, int *Number,
+ off_t *Offset, int *Frame, int *iFrames);
void WriteIndex(const char *Directory, bool isTS, uint64_t Offset,
int FrameType, int Number);
void CloseIndex(const char *Directory, bool isTS);