libobs: Log when module file is loaded

This commit is contained in:
jp9000
2015-07-05 23:49:33 -07:00
parent a0e42ff277
commit e5ccac0c5c

View File

@@ -81,6 +81,11 @@ int obs_open_module(obs_module_t **module, const char *path,
mod.data_path = bstrdup(data_path);
mod.next = obs->first_module;
if (mod.file) {
blog(LOG_INFO, "---------------------------------\n"
"Loading module: %s", mod.file);
}
*module = bmemdup(&mod, sizeof(mod));
obs->first_module = (*module);
mod.set_pointer(*module);