UI: Add PAL 25 & 50 FPS as common FPS values

master
Gol-D-Ace 2019-03-10 08:31:08 +01:00
parent c4f4b6602b
commit 7c0620b54f
2 changed files with 14 additions and 1 deletions

View File

@ -4073,6 +4073,11 @@
<string>24 NTSC</string>
</property>
</item>
<item>
<property name="text">
<string>25 PAL</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">29.97</string>
@ -4088,6 +4093,11 @@
<string notr="true">48</string>
</property>
</item>
<item>
<property name="text">
<string>50 PAL</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">59.94</string>

View File

@ -5693,7 +5693,7 @@ void OBSBasic::GetFPSCommon(uint32_t &num, uint32_t &den) const
} else if (strcmp(val, "24 NTSC") == 0) {
num = 24000;
den = 1001;
} else if (strcmp(val, "25") == 0) {
} else if (strcmp(val, "25 PAL") == 0) {
num = 25;
den = 1;
} else if (strcmp(val, "29.97") == 0) {
@ -5702,6 +5702,9 @@ void OBSBasic::GetFPSCommon(uint32_t &num, uint32_t &den) const
} else if (strcmp(val, "48") == 0) {
num = 48;
den = 1;
} else if (strcmp(val, "50 PAL") == 0) {
num = 50;
den = 1;
} else if (strcmp(val, "59.94") == 0) {
num = 60000;
den = 1001;