Disable pure vaapi for intel because it doesn't work, will be fixed later if possible

This commit is contained in:
dec05eba
2024-09-17 00:09:03 +02:00
parent 09fa00d4a7
commit 85d35bede2
4 changed files with 8 additions and 6 deletions

View File

@@ -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];