remove correct index
This commit is contained in:
parent
5775f9944e
commit
b3c3c0ec79
@ -332,7 +332,7 @@ impl PlayoutConfig {
|
||||
if let Some(i) = cmd.clone().iter().position(|r| r == "-filter_complex") {
|
||||
config.out.output_filter = Some(cmd[i + 1].clone());
|
||||
cmd.remove(i);
|
||||
cmd.remove(i + 1);
|
||||
cmd.remove(i);
|
||||
}
|
||||
|
||||
config.out.output_cmd = Some(cmd);
|
||||
|
Loading…
Reference in New Issue
Block a user