summaryrefslogtreecommitdiff
path: root/markad-standalone.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-03-16 19:46:20 +0100
committerJochen Dolze <vdr@dolze.de>2010-03-16 19:46:20 +0100
commit8c15ec9bc01a96e707daeef2f0955bdc97867201 (patch)
tree0ffb3dc724a629fa9f1e35ef8171b14ce7d3dd6f /markad-standalone.h
parent6d7569aec72f444763474efb420ae403f90e36ae (diff)
downloadvdr-plugin-markad-0.0.6.tar.gz
vdr-plugin-markad-0.0.6.tar.bz2
Added creation of mark filesv0.0.6
Diffstat (limited to 'markad-standalone.h')
-rw-r--r--markad-standalone.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/markad-standalone.h b/markad-standalone.h
index 25f8fc9..f84ec38 100644
--- a/markad-standalone.h
+++ b/markad-standalone.h
@@ -25,6 +25,7 @@
#include "audio.h"
#include "streaminfo.h"
#include "version.h"
+#include "marks.h"
class cMarkAdStandalone
{
@@ -140,6 +141,8 @@ unsigned Descriptor_Length:
8;
};
+ static const char frametypes[8];
+
cMarkAdDemux *video_demux;
cMarkAdDemux *ac3_demux;
cMarkAdDemux *mp2_demux;
@@ -153,14 +156,25 @@ unsigned Descriptor_Length:
bool isTS;
int MaxFiles;
+ int lastiframe;
int framecnt;
bool abort;
bool noticeVDR_MP2;
bool noticeVDR_AC3;
+ bool bDecodeVideo;
+ bool bDecodeAudio;
+ bool bIgnoreAudioInfo;
+ bool bIgnoreVideoInfo;
+
void SaveFrame(int Frame);
+
+ bool marksAligned;
+ bool bBackupMarks;
+ clMarks marks;
char *IndexToHMSF(int Index);
+ void AddStartMark();
void AddMark(MarkAdMark *Mark);
bool CheckVDRHD(const char *Directory);
@@ -175,7 +189,11 @@ public:
abort=true;
}
void Process(const char *Directory);
- cMarkAdStandalone(const char *Directory);
+ cMarkAdStandalone(const char *Directory, bool BackupMarks, int LogoExtraction,
+ int LogoWidth, int LogoHeight, bool DecodeVideo,
+ bool DecodeAudio, bool IgnoreVideoInfo, bool IgnoreAudioInfo,
+ const char *LogoDir, const char *MarkFileName);
+
~cMarkAdStandalone();
};