From 5863fda414bbe5e164fddf6a75f7dc16680f841b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 22 Sep 2024 19:58:54 +0200 Subject: Comments --- src/encoder/video/vaapi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/encoder') diff --git a/src/encoder/video/vaapi.c b/src/encoder/video/vaapi.c index 03218cb..7c53647 100644 --- a/src/encoder/video/vaapi.c +++ b/src/encoder/video/vaapi.c @@ -102,6 +102,7 @@ static bool gsr_video_encoder_vaapi_setup_textures(gsr_video_encoder_vaapi *self uint32_t pitches[4]; uint64_t modifiers[4]; for(uint32_t j = 0; j < self->prime.layers[layer].num_planes; ++j) { + // TODO: Close these? in _stop, using self->prime fds[j] = self->prime.objects[self->prime.layers[layer].object_index[j]].fd; offsets[j] = self->prime.layers[layer].offset[j]; pitches[j] = self->prime.layers[layer].pitch[j]; -- cgit v1.2.3