mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-01 15:49:51 +08:00
libobs: Set module for outputs
This commit is contained in:
committed by
Ryan Foster
parent
5841db6efc
commit
4cd1444c9a
@@ -1116,6 +1116,11 @@ void obs_register_output_s(const struct obs_output_info *info, size_t size)
|
||||
strlist_free(protocols);
|
||||
}
|
||||
|
||||
if (loadingModule) {
|
||||
char *output_id = bstrdup(info->id);
|
||||
da_push_back(loadingModule->outputs, &output_id);
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
error:
|
||||
|
||||
Reference in New Issue
Block a user