diff options
author | Jochen Dolze <vdr@dolze.de> | 2010-04-28 22:58:08 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2010-04-28 22:58:08 +0200 |
commit | 45a400d45adb2314952eb23dd3a7feb6c4b9526c (patch) | |
tree | babe35333c8e37c19cf30edf4021df1e9b6a10ad /command/markad-standalone.h | |
parent | 660b6e2a9fa4a90ce931d41749e699c38ccdb91b (diff) | |
download | vdr-plugin-markad-45a400d45adb2314952eb23dd3a7feb6c4b9526c.tar.gz vdr-plugin-markad-45a400d45adb2314952eb23dd3a7feb6c4b9526c.tar.bz2 |
Changed --bstart/stop to --tstart/stop, added SIGSEGV backtrace
Diffstat (limited to 'command/markad-standalone.h')
-rw-r--r-- | command/markad-standalone.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/command/markad-standalone.h b/command/markad-standalone.h index 65717b9..9f6954f 100644 --- a/command/markad-standalone.h +++ b/command/markad-standalone.h @@ -22,6 +22,9 @@ #include <sys/wait.h> #include <pthread.h> #include <poll.h> +#include <locale.h> +#include <libintl.h> +#include <execinfo.h> #include "demux.h" #include "global.h" @@ -32,7 +35,11 @@ #include "version.h" #include "marks.h" -#define trNOOP(s) (s) +#define tr(s) dgettext("markad",s) + +#define IGNORE_VIDEOINFO 1 +#define IGNORE_AUDIOINFO 2 +#define IGNORE_TIMERINFO 4 class cOSDMessage { @@ -199,9 +206,12 @@ unsigned Descriptor_Length: bool bDecodeAudio; bool bIgnoreAudioInfo; bool bIgnoreVideoInfo; + bool bIgnoreTimerInfo; bool bGenIndex; - int tStart; - int tStop; + int tStart; // pretimer in seconds + int tStop; // posttimer in seconds + int iStart; // pretimer as index value + int iStop; // posttimer as index value void CheckIndex(const char *Directory); char *indexFile; @@ -232,10 +242,10 @@ public: void Process(const char *Directory); cMarkAdStandalone(const char *Directory, bool BackupMarks, int LogoExtraction, int LogoWidth, int LogoHeight, bool DecodeVideo, - bool DecodeAudio, bool IgnoreVideoInfo, bool IgnoreAudioInfo, + bool DecodeAudio, int IgnoreInfo, const char *LogoDir, const char *MarkFileName, bool ASD, bool noPid, bool OSD, const char *SVDRPHost, int SVDRPPort, - bool Before, bool GenIndex, bool Start, bool Stop); + bool Before, bool GenIndex, int Start, int Stop); ~cMarkAdStandalone(); }; |