in internal getMediaInfo(File) calls, explicitly ignore the --filter option if any and don't inherit it's value from the commandline options
This commit is contained in:
parent
2bee69d732
commit
db4b6b9487
|
@ -427,7 +427,7 @@ public abstract class ScriptShellBaseClass extends Script {
|
|||
Map<Option, Object> option = getDefaultOptions(parameters);
|
||||
synchronized (cli) {
|
||||
try {
|
||||
List<String> lines = cli.getMediaInfo(singleton(input.get(0)), asString(option.get(Option.format)), asString(option.get(Option.filter)));
|
||||
List<String> lines = cli.getMediaInfo(singleton(input.get(0)), asString(option.get(Option.format)), null); // explicitly ignore the --filter option if any
|
||||
return lines.get(0);
|
||||
} catch (Exception e) {
|
||||
printException(e, false);
|
||||
|
|
Loading…
Reference in New Issue