提交 e5ccac0c 编写于 作者: J jp9000

libobs: Log when module file is loaded

上级 a0e42ff2
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册