Fix issue with h scaling on widescreens

pull/154/head
IanSB 2020-07-16 04:02:42 +01:00
rodzic e814dcd46e
commit d0ed136322
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -444,12 +444,12 @@ void geometry_get_fb_params(capture_info_t *capinfo) {
}
if (scaling == GSCALING_INTEGER && v_size43 == v_size && h_size > h_size43) {
if ((geometry_max_h_width >= 512 && geometry_max_h_width <= 800) || (geometry_max_h_width > 360 && geometry_max_h_width <= 400)) {
//if ((geometry_max_h_width >= 512 && geometry_max_h_width <= 800) || (geometry_max_h_width > 360 && geometry_max_h_width <= 400)) {
h_size43 = (h_size43 * 800) / 720; //adjust 4:3 ratio on widescreen resolutions to account for up to 800 pixel wide integer sample capture
if (h_size43 > h_size) {
h_size43 = h_size;
}
}
//}
}
int double_width = (capinfo->sizex2 & 2) >> 1;