From 3654825f27c11c9aff115955b96b53ec92d7addc Mon Sep 17 00:00:00 2001 From: ww-rm Date: Wed, 9 Apr 2025 13:52:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=96=87=E5=AD=97=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PropertyGridWrappers/Exporter/AvifExporterWrapper.cs | 2 +- .../PropertyGridWrappers/Exporter/CustomExporterWrapper.cs | 7 ------- .../Exporter/FFmpegVideoExporterWrapper.cs | 4 ++-- .../PropertyGridWrappers/Exporter/GifExporterWrapper.cs | 2 +- .../PropertyGridWrappers/Exporter/WebpExporterWrapper.cs | 2 +- 5 files changed, 5 insertions(+), 12 deletions(-) diff --git a/SpineViewer/PropertyGridWrappers/Exporter/AvifExporterWrapper.cs b/SpineViewer/PropertyGridWrappers/Exporter/AvifExporterWrapper.cs index 4857e50..4f5722f 100644 --- a/SpineViewer/PropertyGridWrappers/Exporter/AvifExporterWrapper.cs +++ b/SpineViewer/PropertyGridWrappers/Exporter/AvifExporterWrapper.cs @@ -38,7 +38,7 @@ namespace SpineViewer.PropertyGridWrappers.Exporter /// /// 循环次数 /// - [Category("[3] 格式参数"), DisplayName("循环次数"), Description("循环次数, 0 无限循环, 取值范围 [0, 65535]")] + [Category("[3] 格式参数"), DisplayName("循环次数"), Description("-loop, 循环次数, 0 无限循环, 取值范围 [0, 65535]")] public int Loop { get => Exporter.Loop; set => Exporter.Loop = value; } } } diff --git a/SpineViewer/PropertyGridWrappers/Exporter/CustomExporterWrapper.cs b/SpineViewer/PropertyGridWrappers/Exporter/CustomExporterWrapper.cs index fc77831..b820186 100644 --- a/SpineViewer/PropertyGridWrappers/Exporter/CustomExporterWrapper.cs +++ b/SpineViewer/PropertyGridWrappers/Exporter/CustomExporterWrapper.cs @@ -30,12 +30,5 @@ namespace SpineViewer.PropertyGridWrappers.Exporter /// [Category("[2] FFmpeg 基本参数"), DisplayName("文件名后缀"), Description("文件名后缀")] public string CustomSuffix { get => Exporter.CustomSuffix; set => Exporter.CustomSuffix = value; } - - /// - /// 文件名后缀 - /// - [Category("[2] FFmpeg 基本参数"), DisplayName("自定义参数"), Description("提供给 FFmpeg 的自定义参数")] - public override string CustomArgument { get => Exporter.CustomArgument; set => Exporter.CustomArgument = value; } - } } diff --git a/SpineViewer/PropertyGridWrappers/Exporter/FFmpegVideoExporterWrapper.cs b/SpineViewer/PropertyGridWrappers/Exporter/FFmpegVideoExporterWrapper.cs index 6e95ba7..d57fd41 100644 --- a/SpineViewer/PropertyGridWrappers/Exporter/FFmpegVideoExporterWrapper.cs +++ b/SpineViewer/PropertyGridWrappers/Exporter/FFmpegVideoExporterWrapper.cs @@ -28,7 +28,7 @@ namespace SpineViewer.PropertyGridWrappers.Exporter /// /// 文件名后缀 /// - [Category("[2] FFmpeg 基本参数"), DisplayName("自定义参数"), Description("提供给 FFmpeg 的自定义参数, 除非很清楚自己在做什么, 否则请勿填写此参数")] - public virtual string CustomArgument { get => Exporter.CustomArgument; set => Exporter.CustomArgument = value; } + [Category("[2] FFmpeg 基本参数"), DisplayName("自定义参数"), Description("使用 \"ffmpeg -h -encoder=<编码器>\" 查看编码器支持的参数\n使用 \"ffmpeg -h -muxer=<文件格式>\" 查看文件格式支持的参数")] + public string CustomArgument { get => Exporter.CustomArgument; set => Exporter.CustomArgument = value; } } } diff --git a/SpineViewer/PropertyGridWrappers/Exporter/GifExporterWrapper.cs b/SpineViewer/PropertyGridWrappers/Exporter/GifExporterWrapper.cs index d8d94b9..fa91755 100644 --- a/SpineViewer/PropertyGridWrappers/Exporter/GifExporterWrapper.cs +++ b/SpineViewer/PropertyGridWrappers/Exporter/GifExporterWrapper.cs @@ -28,7 +28,7 @@ namespace SpineViewer.PropertyGridWrappers.Exporter /// /// 透明度阈值 /// - [Category("[3] 格式参数"), DisplayName("循环次数"), Description("循环次数, -1 不循环, 0 无限循环, 取值范围 [-1, 65535]")] + [Category("[3] 格式参数"), DisplayName("循环次数"), Description("-loop, 循环次数, -1 不循环, 0 无限循环, 取值范围 [-1, 65535]")] public int Loop { get => Exporter.Loop; set => Exporter.Loop = value; } } } diff --git a/SpineViewer/PropertyGridWrappers/Exporter/WebpExporterWrapper.cs b/SpineViewer/PropertyGridWrappers/Exporter/WebpExporterWrapper.cs index 0f97e56..8cb4eb9 100644 --- a/SpineViewer/PropertyGridWrappers/Exporter/WebpExporterWrapper.cs +++ b/SpineViewer/PropertyGridWrappers/Exporter/WebpExporterWrapper.cs @@ -44,7 +44,7 @@ namespace SpineViewer.PropertyGridWrappers.Exporter /// /// 透明度阈值 /// - [Category("[3] 格式参数"), DisplayName("循环次数"), Description("循环次数, 0 无限循环, 取值范围 [0, 65535]")] + [Category("[3] 格式参数"), DisplayName("循环次数"), Description("-loop, 循环次数, 0 无限循环, 取值范围 [0, 65535]")] public int Loop { get => Exporter.Loop; set => Exporter.Loop = value; } } }