diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-02-24 20:16:03 +0100 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-02-24 20:16:03 +0100 |
commit | 91b1ad21bcbe1a5041e180d02a8ff5e11e40d463 (patch) | |
tree | 170fa0dcaf18b0b82fa4ccb8248bdb6ff5fc65ba /command/markad-standalone.cpp | |
parent | 22016dfb79e05cf28c5cac9574649cbb13aabd8a (diff) | |
download | vdr-plugin-markad-91b1ad21bcbe1a5041e180d02a8ff5e11e40d463.tar.gz vdr-plugin-markad-91b1ad21bcbe1a5041e180d02a8ff5e11e40d463.tar.bz2 |
Removed AC3 and MP2 audio decoding support (not needed)
Added logo for ATV and ATV2
Diffstat (limited to 'command/markad-standalone.cpp')
-rw-r--r-- | command/markad-standalone.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/command/markad-standalone.cpp b/command/markad-standalone.cpp index c247617..5140dd6 100644 --- a/command/markad-standalone.cpp +++ b/command/markad-standalone.cpp @@ -974,7 +974,7 @@ bool cMarkAdStandalone::ProcessFile(int Number) marks.WriteIndex(directory,isTS,demux->Offset(),macontext.Video.Info.Pict_Type,Number); } framecnt++; - if ((macontext.Config->logoExtraction!=-1) && (framecnt>=1000)) + if ((macontext.Config->logoExtraction!=-1) && (framecnt>=256)) { isyslog("finished logo extraction"); abort=true; @@ -2197,8 +2197,7 @@ cMarkAdStandalone::cMarkAdStandalone(const char *Directory, const MarkAdConfig * if (!abort) { - decoder = new cMarkAdDecoder(macontext.Info.VPid.Type==MARKAD_PIDTYPE_VIDEO_H264, - macontext.Info.APid.Num!=0,macontext.Info.DPid.Num!=0,config->threads); + decoder = new cMarkAdDecoder(macontext.Info.VPid.Type==MARKAD_PIDTYPE_VIDEO_H264,config->threads); video = new cMarkAdVideo(&macontext); audio = new cMarkAdAudio(&macontext); streaminfo = new cMarkAdStreamInfo; |