Temp portal dont use fast path

This commit is contained in:
dec05eba
2024-11-20 22:44:26 +01:00
parent cbf4cba5a9
commit 25142df6e5

View File

@@ -354,6 +354,7 @@ static int gsr_capture_portal_capture(gsr_capture *cap, AVFrame *frame, gsr_colo
// TODO: Handle region crop // TODO: Handle region crop
/* Fast opengl free path */ /* Fast opengl free path */
self->fast_path_failed = true;
if(!self->fast_path_failed && video_codec_context_is_vaapi(self->video_codec_context) && self->params.egl->gpu_info.vendor == GSR_GPU_VENDOR_AMD) { if(!self->fast_path_failed && video_codec_context_is_vaapi(self->video_codec_context) && self->params.egl->gpu_info.vendor == GSR_GPU_VENDOR_AMD) {
int fds[4]; int fds[4];
uint32_t offsets[4]; uint32_t offsets[4];