summaryrefslogtreecommitdiff
path: root/markad-standalone.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-03-22 21:56:10 +0100
committerJochen Dolze <vdr@dolze.de>2010-03-22 21:56:10 +0100
commit44b6d66ecd254cd82c1b37b1937479e5a895f57c (patch)
treeacbf8e3cfd6bc4d5cea00f605584eb84d7b44a45 /markad-standalone.h
parent9344b4ed2f830a78679dc80c23bd44d82098ac1f (diff)
downloadvdr-plugin-markad-44b6d66ecd254cd82c1b37b1937479e5a895f57c.tar.gz
vdr-plugin-markad-44b6d66ecd254cd82c1b37b1937479e5a895f57c.tar.bz2
Added Pidfile creation, Logo from Copperhead
Diffstat (limited to 'markad-standalone.h')
-rw-r--r--markad-standalone.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/markad-standalone.h b/markad-standalone.h
index 08c6e3d..a7d52f7 100644
--- a/markad-standalone.h
+++ b/markad-standalone.h
@@ -143,6 +143,7 @@ unsigned Descriptor_Length:
};
static const char frametypes[8];
+ const char *directory;
cMarkAdDemux *video_demux;
cMarkAdDemux *ac3_demux;
@@ -154,6 +155,10 @@ unsigned Descriptor_Length:
MarkAdContext macontext;
+ bool CreatePidfile(const char *Directory);
+ void RemovePidfile(const char *Directory);
+ bool duplicate; // are we a dup?
+
bool isTS;
int MaxFiles;
int lastiframe;
@@ -198,7 +203,8 @@ public:
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, bool ASD);
+ const char *LogoDir, const char *MarkFileName, bool ASD,
+ bool noPid);
~cMarkAdStandalone();
};