mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-07 23:20:25 +09:00
Allow prime run with desktop portal
This commit is contained in:
@@ -2705,11 +2705,6 @@ int main(int argc, char **argv) {
|
|||||||
disable_prime_run();
|
disable_prime_run();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(strcmp(window_str, "portal") == 0 && is_using_prime_run()) {
|
|
||||||
fprintf(stderr, "Warning: use of prime-run with -w portal option is currently not supported. Disabling prime-run\n");
|
|
||||||
disable_prime_run();
|
|
||||||
}
|
|
||||||
|
|
||||||
if(video_codec_is_hdr(video_codec) && !wayland) {
|
if(video_codec_is_hdr(video_codec) && !wayland) {
|
||||||
fprintf(stderr, "Error: hdr video codec option %s is not available on X11\n", video_codec_to_use);
|
fprintf(stderr, "Error: hdr video codec option %s is not available on X11\n", video_codec_to_use);
|
||||||
_exit(1);
|
_exit(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user