From 91b1ad21bcbe1a5041e180d02a8ff5e11e40d463 Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Fri, 24 Feb 2012 20:16:03 +0100 Subject: Removed AC3 and MP2 audio decoding support (not needed) Added logo for ATV and ATV2 --- command/markad-standalone.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'command/markad-standalone.cpp') 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; -- cgit v1.2.3