summaryrefslogtreecommitdiff
path: root/command/markad-standalone.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-11-03 01:21:30 +0100
committerJochen Dolze <vdr@dolze.de>2010-11-03 01:21:30 +0100
commit3b606130ead038b4d5bc1b88bfd6e7430adacc4d (patch)
tree1a883bb36ada9f650f441f5c7fde4171f4afc81c /command/markad-standalone.h
parent7e2fb0f884b2269c32cb42867346ec3917c7e480 (diff)
downloadvdr-plugin-markad-3b606130ead038b4d5bc1b88bfd6e7430adacc4d.tar.gz
vdr-plugin-markad-3b606130ead038b4d5bc1b88bfd6e7430adacc4d.tar.bz2
Got rid of iframetime, better broadcast start detection, dont change atime/mtime of info file anymore
Diffstat (limited to 'command/markad-standalone.h')
-rw-r--r--command/markad-standalone.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/command/markad-standalone.h b/command/markad-standalone.h
index bdbd0ff..f22310a 100644
--- a/command/markad-standalone.h
+++ b/command/markad-standalone.h
@@ -184,10 +184,6 @@ unsigned Descriptor_Length:
int lastiframe;
int iframe;
- unsigned int iframetime;
- unsigned int lastiframetime;
- unsigned int audiotime;
-
int framecnt;
int framecnt2; // 2nd pass
@@ -225,6 +221,8 @@ unsigned Descriptor_Length:
int chkLEFT;
int chkRIGHT;
+ time_t GetBroadcastStartPES();
+ time_t GetBroadcastStart(time_t start, int fd);
void CheckBroadcastLength();
bool CheckIndexGrowing();
char *indexFile;
@@ -242,7 +240,7 @@ unsigned Descriptor_Length:
void CheckLastMark();
bool CheckDolbyDigital51();
void CheckStartStop(int frame, bool checkend=false);
- void CheckInfoAspectRatio();
+ void CheckAspectRatio_and_AudioChannels();
void CheckLogoMarks(clMark *last=NULL);
void AddStartMark();
void AddMark(MarkAdMark *Mark);
@@ -257,8 +255,6 @@ unsigned Descriptor_Length:
bool RegenerateIndex();
bool ProcessFile2ndPass(clMark **Mark1, clMark **Mark2, int Number, off_t Offset, int Frame, int Frames);
bool ProcessFile(int Number);
-
- char *Timestamp2HMS(unsigned int Timestamp);
void ProcessFile();
public:
void SetAbort()