aboutsummaryrefslogtreecommitdiff
path: root/src/capture/portal.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-17 00:09:03 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-17 00:09:03 +0200
commit85d35bede2ce1328e6fed13461f98f063c4907e8 (patch)
tree8f589c3579d2bd818644dfad5b0df5008633aeb2 /src/capture/portal.c
parent09fa00d4a751a2ac00e383de8426c6934873ad45 (diff)
Disable pure vaapi for intel because it doesn't work, will be fixed later if possible
Diffstat (limited to 'src/capture/portal.c')
-rw-r--r--src/capture/portal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/capture/portal.c b/src/capture/portal.c
index 2836c71..40e4581 100644
--- a/src/capture/portal.c
+++ b/src/capture/portal.c
@@ -342,7 +342,7 @@ static int gsr_capture_portal_capture(gsr_capture *cap, AVFrame *frame, gsr_colo
// TODO: Handle region crop
/* Fast opengl free path */
- if(video_codec_context_is_vaapi(self->video_codec_context)) {
+ if(video_codec_context_is_vaapi(self->video_codec_context) && self->params.egl->gpu_info.vendor == GSR_GPU_VENDOR_AMD) {
int fds[4];
uint32_t offsets[4];
uint32_t pitches[4];