Skip to content

Commit

Permalink
Increase max width of screen area used in 1080p
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSB committed Aug 19, 2021
1 parent 8500afb commit 9f44b73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geometry.c
Expand Up @@ -410,7 +410,7 @@ void geometry_get_fb_params(capture_info_t *capinfo) {
if (apparent_width > 1440 && geometry->max_h_width <= 720 && geometry->max_h_width > 400 && geometry->min_h_width > 533 && (get_scaling() < SCALING_FILL43_SOFT || geometry->fb_sizex2 != 0)) {
left = (apparent_width - 1440) / 2;
right = left;
} else if (apparent_width > 1600) {
} else if (apparent_width > 1600 && geometry->min_h_width > 533) {
left = (apparent_width - 1600) / 2;
right = left;
}
Expand Down Expand Up @@ -582,7 +582,7 @@ 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)) {
h_size43 = (h_size43 * 800) / 720; //adjust 4:3 ratio on widescreen resolutions to account for up to 800 pixel wide integer sample capture
h_size43 = (h_size43 * 912) / 720; //adjust 4:3 ratio on widescreen resolutions to account for up to 900 pixel wide integer sample capture
if (h_size43 > h_size) {
h_size43 = h_size;
}
Expand Down

0 comments on commit 9f44b73

Please sign in to comment.