From 4786b0434ca65f7d867dfbccbc402b70a340b5a7 Mon Sep 17 00:00:00 2001 From: ww-rm Date: Tue, 19 Aug 2025 18:02:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E5=8F=82=E6=95=B0=E6=9E=84=E9=80=A0=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Spine/Exporters/CustomFFmpegExporter.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Spine/Exporters/CustomFFmpegExporter.cs b/Spine/Exporters/CustomFFmpegExporter.cs index b1c5507..e50df4f 100644 --- a/Spine/Exporters/CustomFFmpegExporter.cs +++ b/Spine/Exporters/CustomFFmpegExporter.cs @@ -60,8 +60,9 @@ namespace Spine.Exporters if (!string.IsNullOrEmpty(_codec)) options.WithVideoCodec(_codec); if (!string.IsNullOrEmpty(_pixelFormat)) options.ForcePixelFormat(_pixelFormat); if (!string.IsNullOrEmpty(_bitrate)) options.WithCustomArgument($"-b:v {_bitrate}"); - if (!string.IsNullOrEmpty(_filter)) options.WithCustomArgument($"-vf unpremultiply=inplace=1, {_customArgs}"); + if (!string.IsNullOrEmpty(_filter)) options.WithCustomArgument($"-vf unpremultiply=inplace=1, {_filter}"); else options.WithCustomArgument("-vf unpremultiply=inplace=1"); + if (!string.IsNullOrEmpty(_customArgs)) options.WithCustomArgument($"{_customArgs}"); } ///