aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-11-20 22:44:26 +0100
committerdec05eba <dec05eba@protonmail.com>2024-11-20 22:44:26 +0100
commit25142df6e52be4e99bd0dd9072bfc1a3071c1de1 (patch)
tree0eeb004b8ac563890ad157e586ab96be52b363dd
parentcbf4cba5a97ed7ed9303627ceb644aff9c1fbf4e (diff)
Temp portal dont use fast path
-rw-r--r--src/capture/portal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/capture/portal.c b/src/capture/portal.c
index d68e86f..357c867 100644
--- a/src/capture/portal.c
+++ b/src/capture/portal.c
@@ -354,6 +354,7 @@ static int gsr_capture_portal_capture(gsr_capture *cap, AVFrame *frame, gsr_colo
// TODO: Handle region crop
/* 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) {
int fds[4];
uint32_t offsets[4];