From 12b0a5aa366f5b08d2cf8c6da935af64f4fbcb53 Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Sat, 13 Mar 2010 23:35:57 +0100 Subject: Fixed typo in commandline parsing --- markad-standalone.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/markad-standalone.cpp b/markad-standalone.cpp index 4c43253..5925097 100644 --- a/markad-standalone.cpp +++ b/markad-standalone.cpp @@ -548,6 +548,14 @@ cMarkAdStandalone::cMarkAdStandalone(const char *Directory) macontext.StandAlone.LogoWidth=logoWidth; macontext.StandAlone.LogoHeight=logoHeight; + if (logoExtraction!=-1) + { + // just to be sure extraction works + bDecodeVideo=true; + bIgnoreAudioInfo=true; + bIgnoreVideoInfo=true; + } + macontext.General.DPid.Type=MARKAD_PIDTYPE_AUDIO_AC3; macontext.General.APid.Type=MARKAD_PIDTYPE_AUDIO_MP2; @@ -802,7 +810,7 @@ int main(int argc, char *argv[]) {0, 0, 0, 0} }; - c = getopt_long (argc, argv, "abcd:i:jl:nop:s:vBCLO:SV", + c = getopt_long (argc, argv, "abcd:i:jl:nop:s:vBCL:O:SV", long_options, &option_index); if (c == -1) break; -- cgit v1.2.3