From 9f754a949ee0f8f3ee2e582d22b6d2e6724767be Mon Sep 17 00:00:00 2001 From: John Andrews Date: Sun, 22 Sep 2024 19:22:41 +1200 Subject: [PATCH] FF-1795: Added Aspect Ratio flow element --- VideoNodes/FfmpegBuilderNodes/Video/FfmpegBuilderAspectRatio.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/VideoNodes/FfmpegBuilderNodes/Video/FfmpegBuilderAspectRatio.cs b/VideoNodes/FfmpegBuilderNodes/Video/FfmpegBuilderAspectRatio.cs index 37896b8c..9d8a8c9d 100644 --- a/VideoNodes/FfmpegBuilderNodes/Video/FfmpegBuilderAspectRatio.cs +++ b/VideoNodes/FfmpegBuilderNodes/Video/FfmpegBuilderAspectRatio.cs @@ -30,6 +30,7 @@ public class FfmpegBuilderAspectRatio : FfmpegBuilderNode /// Used if is set to "Custom". /// [Range(1, int.MaxValue)] + [NumberInt(3)] [ConditionEquals(nameof(AspectRatio), "Custom")] public int CustomWidth { get; set; } @@ -38,6 +39,7 @@ public class FfmpegBuilderAspectRatio : FfmpegBuilderNode /// Used if is set to "Custom". /// [Range(1, int.MaxValue)] + [NumberInt(4)] [ConditionEquals(nameof(AspectRatio), "Custom")] public int CustomHeight { get; set; }