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 | |
parent | 77364b77342fccbc1b249350338213e9c5cebae7 (diff) |
Comments
-rw-r--r-- | src/encoder/video/vaapi.c | 1 | ||||
-rw-r--r-- | src/utils.c | 2 |
2 files changed, 2 insertions, 1 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]; diff --git a/src/utils.c b/src/utils.c index b4e34fd..42f4c40 100644 --- a/src/utils.c +++ b/src/utils.c @@ -165,7 +165,7 @@ static bool connector_get_property_by_name(int drmfd, drmModeConnectorPtr props, return false; } -/* TODO: Support more connector types*/ +/* TODO: Support more connector types */ static int get_connector_type_by_name(const char *name) { int len = strlen(name); if(len >= 5 && strncmp(name, "HDMI-", 5) == 0) |