summaryrefslogtreecommitdiff
path: root/command/markad-standalone.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-10-10 15:45:18 +0200
committerJochen Dolze <vdr@dolze.de>2010-10-10 15:45:18 +0200
commit2994e021ee44eea1c9443da897909c79cef0f963 (patch)
treee2ced874bd8cbce50adb15a1471cb5bd5c8d79ff /command/markad-standalone.h
parentf5134567a6cbe6f510a820d05e86226eac1c29e6 (diff)
downloadvdr-plugin-markad-2994e021ee44eea1c9443da897909c79cef0f963.tar.gz
vdr-plugin-markad-2994e021ee44eea1c9443da897909c79cef0f963.tar.bz2
Added -a (AC3 always) option
Diffstat (limited to 'command/markad-standalone.h')
-rw-r--r--command/markad-standalone.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/command/markad-standalone.h b/command/markad-standalone.h
index b4e2359..7ffc391 100644
--- a/command/markad-standalone.h
+++ b/command/markad-standalone.h
@@ -8,6 +8,7 @@
#ifndef __markad_standalone_h_
#define __markad_standalone_h_
+#include "global.h"
#include "demux.h"
#include "decoder.h"
#include "video.h"
@@ -25,6 +26,7 @@
#define MAXRANGE 420 /* range to search for start/stop marks in seconds */
+
class cOSDMessage
{
private:
@@ -205,7 +207,7 @@ unsigned Descriptor_Length:
bool bIgnoreAudioInfo;
bool bIgnoreVideoInfo;
bool bIgnoreTimerInfo;
- bool bGenIndex;
+
int tStart; // pretimer in seconds
int iStart; // pretimer as index value
int iStartCheck; // check position for iStart
@@ -231,7 +233,7 @@ unsigned Descriptor_Length:
bool aspectChecked;
bool marksAligned;
- bool bBackupMarks;
+
clMarks marks;
char *IndexToHMSF(int Index);
void CalculateStopPosition(int startframe, int delta);
@@ -264,12 +266,7 @@ public:
}
void Process2ndPass();
void Process();
- cMarkAdStandalone(const char *Directory, bool BackupMarks, int LogoExtraction,
- int LogoWidth, int LogoHeight, bool DecodeVideo,
- bool DecodeAudio, int IgnoreInfo,
- const char *LogoDir, const char *MarkFileName,
- bool noPid, bool OSD, const char *SVDRPHost, int SVDRPPort,
- bool Before, bool GenIndex, int Threads);
+ cMarkAdStandalone(const char *Directory, const MarkAdConfig *config);
~cMarkAdStandalone();
};