SHA256
Validate Even Render Resolution Before Starting
This commit is contained in:
1 parent
a4dba82729
commit
1fdee67f9d
3 files changed
+10
No files matched your search
@@ -846,6 +846,14 @@ internal static class RenderConfigWindow
|
||||
var config = UiConfig;
|
||||
SyncUItoConfig(config);
|
||||
|
||||
// The encoders use 4:2:0 chroma subsampling, which needs an even width and height.
|
||||
if (config.RenderWidth % 2 != 0 || config.RenderHeight % 2 != 0)
|
||||
{
|
||||
ShowValidationError(LocalizationManager.Get(
|
||||
"ui.render_config.validation_even_size", config.RenderWidth, config.RenderHeight));
|
||||
return;
|
||||
}
|
||||
|
||||
// Sync Output Directory
|
||||
if (_outputDirInput != null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user