diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-04-11 00:48:59 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-04-11 00:48:59 +0200 |
commit | 2fdc73ffab9bcda97d36d81bda7b9faf94101460 (patch) | |
tree | 2f7517e215f72a4848b6b9195554cc451f4e468a /src/main.cpp | |
parent | e7020376e9b05bdcea5f4460a286218a41f3a6e7 (diff) |
Temporary disable monitor recording on amd/intel
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index c197b19..4fdbad1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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"; |