Scaling change for QL

pull/111/head
IanSB 2019-12-01 16:38:45 +00:00
rodzic 4468edd3cb
commit 49c0144716
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -336,7 +336,7 @@ void geometry_get_fb_params(capture_info_t *capinfo) {
}
if (scaling == SCALING_INTEGER && v_size43 == v_size && h_size > h_size43) {
if ((geometry_max_h_width > 720 && 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;