Revert "Temp portal dont use fast path"

This reverts commit 25142df6e5.
This commit is contained in:
dec05eba
2024-11-20 22:51:11 +01:00
parent 25142df6e5
commit 5cf1e7953b

View File

@@ -354,7 +354,6 @@ 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];