FF-1795: Added Aspect Ratio flow element

This commit is contained in:
John Andrews
2024-09-22 19:22:41 +12:00
parent 5385312ee7
commit 9f754a949e

View File

@@ -30,6 +30,7 @@ public class FfmpegBuilderAspectRatio : FfmpegBuilderNode
/// Used if <see cref="AspectRatio"/> is set to "Custom".
/// </summary>
[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 <see cref="AspectRatio"/> is set to "Custom".
/// </summary>
[Range(1, int.MaxValue)]
[NumberInt(4)]
[ConditionEquals(nameof(AspectRatio), "Custom")]
public int CustomHeight { get; set; }