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:
Reinhard Pointner 2016-02-02 17:22:27 +00:00
parent 2bee69d732
commit db4b6b9487
1 changed files with 1 additions and 1 deletions

View File

@ -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);