Temporary disable monitor recording on amd/intel

This commit is contained in:
dec05eba
2023-04-11 00:48:59 +02:00
parent e7020376e9
commit 2fdc73ffab
4 changed files with 13 additions and 4 deletions

View File

@@ -1382,6 +1382,12 @@ int main(int argc, char **argv) {
if(!capture)
return 1;
} else {
bool broken = true;
if(broken) {
fprintf(stderr, "Error: recording a monitor on AMD/Intel has been temporary disabled because of issues. Please record a window instead\n");
return 1;
}
const char *capture_target = window_str;
if(strcmp(window_str, "screen-direct") == 0 || strcmp(window_str, "screen-direct-force") == 0) {
capture_target = "screen";