summaryrefslogtreecommitdiff
path: root/command/marks.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-09-16 21:37:36 +0200
committerJochen Dolze <vdr@dolze.de>2010-09-16 21:37:36 +0200
commit57df9917d4626d93323c7b0d2368fbf5d4748627 (patch)
treeebfe76fe280db47e223335266eab1bd34afa4226 /command/marks.h
parent03fc6351fce571b5ff7454bdfad9d4a0f0fb7679 (diff)
downloadvdr-plugin-markad-57df9917d4626d93323c7b0d2368fbf5d4748627.tar.gz
vdr-plugin-markad-57df9917d4626d93323c7b0d2368fbf5d4748627.tar.bz2
Added second pass processing (overlap, audio silence detection)
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);