kopia lustrzana https://github.com/hoglet67/RGBtoHDMI
Fix issue with h scaling on widescreens
rodzic
e814dcd46e
commit
d0ed136322
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue