mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-19 05:51:16 -04:00
frontend: Fix plugin manager module type loading
This commit is contained in:
committed by
Ryan Foster
parent
4cd1444c9a
commit
affe09d250
@@ -199,7 +199,7 @@ void PluginManager::addModuleTypes_()
|
||||
i = 0;
|
||||
while (obs_enum_output_types(i, &output_id)) {
|
||||
i += 1;
|
||||
obs_module_t *obsModule = obs_source_get_module(output_id);
|
||||
obs_module_t *obsModule = obs_output_get_module(output_id);
|
||||
if (!obsModule) {
|
||||
continue;
|
||||
}
|
||||
@@ -216,7 +216,7 @@ void PluginManager::addModuleTypes_()
|
||||
i = 0;
|
||||
while (obs_enum_encoder_types(i, &encoder_id)) {
|
||||
i += 1;
|
||||
obs_module_t *obsModule = obs_source_get_module(encoder_id);
|
||||
obs_module_t *obsModule = obs_encoder_get_module(encoder_id);
|
||||
if (!obsModule) {
|
||||
continue;
|
||||
}
|
||||
@@ -233,7 +233,7 @@ void PluginManager::addModuleTypes_()
|
||||
i = 0;
|
||||
while (obs_enum_service_types(i, &service_id)) {
|
||||
i += 1;
|
||||
obs_module_t *obsModule = obs_source_get_module(service_id);
|
||||
obs_module_t *obsModule = obs_service_get_module(service_id);
|
||||
if (!obsModule) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user