From 78e100c99efa0207c2dc2dbbeb81fd17ce03202a Mon Sep 17 00:00:00 2001 From: Karol Labus Date: Thu, 17 Sep 2026 22:57:53 +0200 Subject: [PATCH] fix: place crop filter at start of FFmpeg vf chain to support downscaling/low bitrate --- JellyfinPlugin/WrapperGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JellyfinPlugin/WrapperGenerator.cs b/JellyfinPlugin/WrapperGenerator.cs index 5d8619f..784d089 100644 --- a/JellyfinPlugin/WrapperGenerator.cs +++ b/JellyfinPlugin/WrapperGenerator.cs @@ -121,7 +121,7 @@ if [ -n ""$INPUT_FILE"" ]; then if [ $next_idx -le $# ]; then next_arg=""${{!next_idx}}"" fi - NEW_ARGS+=(""$next_arg,crop=$CROP_DATA"") + NEW_ARGS+=(""crop=$CROP_DATA,$next_arg"") let i++ continue fi