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; }