From 440bced83fbc2815b217ff1fd2aeaeb707038dc6 Mon Sep 17 00:00:00 2001 From: Nick Krichevsky Date: Mon, 2 Jan 2023 18:27:23 -0500 Subject: [PATCH] Fix failing test --- src/ffmpeg.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ffmpeg.rs b/src/ffmpeg.rs index 1fa0639..01f6b8d 100644 --- a/src/ffmpeg.rs +++ b/src/ffmpeg.rs @@ -97,9 +97,9 @@ mod tests { let args = build_complex_filter_args(&files); assert_eq!(&args, &[ "-filter_complex".to_string(), - "[0:v]scale=1920:1080:force_original_aspect_ratio=decrease:flags=lanczos,setsar=1:1,pad=1920:1080:-1:-1:color=black[v0]; \ - [1:v]scale=1920:1080:force_original_aspect_ratio=decrease:flags=lanczos,setsar=1:1,pad=1920:1080:-1:-1:color=black[v1]; \ - [2:v]scale=1920:1080:force_original_aspect_ratio=decrease:flags=lanczos,setsar=1:1,pad=1920:1080:-1:-1:color=black[v2]; \ + "[0:v]scale=1920:1080:force_original_aspect_ratio=decrease,setsar=1:1,pad=1920:1080:-1:-1:color=black[v0]; \ + [1:v]scale=1920:1080:force_original_aspect_ratio=decrease,setsar=1:1,pad=1920:1080:-1:-1:color=black[v1]; \ + [2:v]scale=1920:1080:force_original_aspect_ratio=decrease,setsar=1:1,pad=1920:1080:-1:-1:color=black[v2]; \ [v0] [0:a] [v1] [1:a] [v2] [2:a] concat=n=3:v=1:a=1 [v] [a]".to_string(), "-map".to_string(), "[v]".to_string(),