Fix opus and flac audio sources, fix crash when live streaming without an audio source
This commit is contained in:
1 parent
1260598e9e
commit
852882bae3
2 files changed
+37
-45
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user