FF-1795: Added Aspect Ratio flow element

This commit is contained in:
John Andrews
2024-09-22 19:24:31 +12:00
parent 9f754a949e
commit 4e73fefea7

View File

@@ -31,6 +31,7 @@ public class FfmpegBuilderAspectRatio : FfmpegBuilderNode
/// </summary>
[Range(1, int.MaxValue)]
[NumberInt(3)]
[DefaultValue(16)]
[ConditionEquals(nameof(AspectRatio), "Custom")]
public int CustomWidth { get; set; }
@@ -40,6 +41,7 @@ public class FfmpegBuilderAspectRatio : FfmpegBuilderNode
/// </summary>
[Range(1, int.MaxValue)]
[NumberInt(4)]
[DefaultValue(9)]
[ConditionEquals(nameof(AspectRatio), "Custom")]
public int CustomHeight { get; set; }