diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-09-22 19:58:54 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-09-22 19:58:54 +0200 |
commit | 5863fda414bbe5e164fddf6a75f7dc16680f841b (patch) | |
tree | d9f0231ef23f52f24948bc5d314afea90119de49 /src/encoder/video/vaapi.c | |
parent | 77364b77342fccbc1b249350338213e9c5cebae7 (diff) |
Comments
Diffstat (limited to 'src/encoder/video/vaapi.c')
-rw-r--r-- | src/encoder/video/vaapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
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]; |