Fix ffmpeg filter escaping (#602)

This commit is contained in:
redzic 2022-03-29 08:04:41 -05:00 committed by GitHub
parent 84d46bb40c
commit 154a9141f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -217,5 +217,7 @@ pub fn escape_path_in_filter(path: impl AsRef<Path>) -> String {
.unwrap()
.to_string()
}
.replace('[', r"\[")
.replace(']', r"\]")
.replace(',', "\\,")
}