Added restriction for Encoding Presets with the yuv420 setting (width and height have to be even numbers)

This commit is contained in:
CrushedPixel
2015-07-16 21:56:29 +02:00
parent da82e3e1f2
commit 9ba99d1794
3 changed files with 20 additions and 0 deletions

View File

@@ -38,6 +38,8 @@ public enum EncodingPreset implements GuiEntryListEntry {
return commandLineArgs.contains("%BITRATE%");
}
public boolean isYuv420() { return commandLineArgs.contains("-pix_fmt yuv420p"); }
@Override
public String getDisplayString() {
return getI18nName();