diff options
Diffstat (limited to 'src')
-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) |