We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84d46bb commit 41d88eeCopy full SHA for 41d88ee
av1an-core/src/ffmpeg.rs
@@ -210,11 +210,15 @@ pub fn escape_path_in_filter(path: impl AsRef<Path>) -> String {
210
// https://stackoverflow.com/questions/60440793/how-can-i-use-windows-absolute-paths-with-the-movie-filter-on-ffmpeg
211
.replace('\\', "/")
212
.replace(':', r"\\:")
213
+ .replace('[', r"\[")
214
+ .replace(']', r"\]")
215
} else {
216
PathAbs::new(path.as_ref())
217
.unwrap()
218
.to_str()
219
220
221
222
.to_string()
223
}
224
.replace(',', "\\,")
0 commit comments