summaryrefslogtreecommitdiff
path: root/markad-standalone.h
diff options
context:
space:
mode:
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();
};