diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-12-03 00:59:07 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-12-03 00:59:07 +0100 |
commit | 852882bae34e8f38446c85c66ae780acac652b84 (patch) | |
tree | 19e842d617d6497f7b8cf33c6f8c9847dc0188f3 /kms/server/kms_server.c | |
parent | 1260598e9e52c32c483743afa3b95a0d87c39a8c (diff) |
Fix opus and flac audio sources, fix crash when live streaming without an audio source
Diffstat (limited to 'kms/server/kms_server.c')
-rw-r--r-- | kms/server/kms_server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kms/server/kms_server.c b/kms/server/kms_server.c index fbd101e..6062074 100644 --- a/kms/server/kms_server.c +++ b/kms/server/kms_server.c @@ -143,6 +143,7 @@ static uint32_t plane_get_properties(int drmfd, uint32_t plane_id, bool *is_curs if(!props) return false; + // TODO: Dont do this every frame for(uint32_t i = 0; i < props->count_props; ++i) { drmModePropertyPtr prop = drmModeGetProperty(drmfd, props->props[i]); if(!prop) |