diff --git a/libobs/obs-module.c b/libobs/obs-module.c index 88a376425..1fc59f418 100644 --- a/libobs/obs-module.c +++ b/libobs/obs-module.c @@ -278,9 +278,11 @@ static void load_all_callback(void *param, const struct obs_module_info *info) { obs_module_t *module; - if (!os_is_obs_plugin(info->bin_path)) + if (!os_is_obs_plugin(info->bin_path)) { blog(LOG_WARNING, "Skipping module '%s', not an OBS plugin", info->bin_path); + return; + } int code = obs_open_module(&module, info->bin_path, info->data_path); if (code != MODULE_SUCCESS) {