mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Revert "Temp portal dont use fast path"
This reverts commit 25142df6e5.
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user