mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-23 06:24:44 -04:00
libobs: Make minor adjustment to module logging
This commit is contained in:
1 parent
17fa004104
commit
57edd5fb32
1 file changed
+3
-2
+3
-2
@@ -80,6 +80,8 @@ int obs_open_module(obs_module_t **module, const char *path,
|
||||
if (!module || !path || !obs)
|
||||
return MODULE_ERROR;
|
||||
|
||||
blog(LOG_INFO, "---------------------------------");
|
||||
|
||||
mod.module = os_dlopen(path);
|
||||
if (!mod.module) {
|
||||
blog(LOG_WARNING, "Module '%s' not found", path);
|
||||
@@ -98,8 +100,7 @@ int obs_open_module(obs_module_t **module, const char *path,
|
||||
mod.next = obs->first_module;
|
||||
|
||||
if (mod.file) {
|
||||
blog(LOG_INFO, "---------------------------------\n"
|
||||
"Loading module: %s", mod.file);
|
||||
blog(LOG_INFO, "Loading module: %s", mod.file);
|
||||
}
|
||||
|
||||
*module = bmemdup(&mod, sizeof(mod));
|
||||
|
||||
Reference in new issue
Block a user