Fix issue with screen captures when OSD enabled

pull/133/head
IanSB 2020-01-11 23:58:40 +00:00
rodzic 61e656a0ae
commit eb984b7f0c
1 zmienionych plików z 14 dodań i 5 usunięć

Wyświetl plik

@ -605,11 +605,20 @@ void geometry_get_fb_params(capture_info_t *capinfo) {
if (mode7) { if (mode7) {
capvscale >>= 1; capvscale >>= 1;
} else { } else {
if (double_width) { if (osd_active()) {
caphscale |= 0x80000000; if (double_width) {
} caphscale >>= 1;
if (double_height) { }
capvscale |= 0x80000000; if (double_height) {
capvscale >>= 1;
}
} else {
if (double_width) {
caphscale |= 0x80000000;
}
if (double_height) {
capvscale |= 0x80000000;
}
} }
} }