diff --git a/UI/win-update/win-update.cpp b/UI/win-update/win-update.cpp index 2bd77b8de..846364b18 100644 --- a/UI/win-update/win-update.cpp +++ b/UI/win-update/win-update.cpp @@ -242,7 +242,7 @@ try { return true; } catch (string text) { - blog(LOG_WARNING, "%s: %s", __FUNCTION__, text.c_str()); + blog(LOG_DEBUG, "%s: %s", __FUNCTION__, text.c_str()); return false; } diff --git a/libobs/obs-module.c b/libobs/obs-module.c index 68bfe25e4..f4aaa028b 100644 --- a/libobs/obs-module.c +++ b/libobs/obs-module.c @@ -26,7 +26,7 @@ extern const char *get_module_extension(void); static inline int req_func_not_found(const char *name, const char *path) { - blog(LOG_ERROR, "Required module function '%s' in module '%s' not " + blog(LOG_DEBUG, "Required module function '%s' in module '%s' not " "found, loading of module failed", name, path); return MODULE_MISSING_EXPORTS; diff --git a/libobs/util/platform-windows.c b/libobs/util/platform-windows.c index d0c146429..0bb6c106f 100644 --- a/libobs/util/platform-windows.c +++ b/libobs/util/platform-windows.c @@ -92,6 +92,12 @@ void *os_dlopen(const char *path) if (!h_library) { DWORD error = GetLastError(); + + /* don't print error for libraries that aren't meant to be + * dynamically linked */ + if (error == ERROR_PROC_NOT_FOUND) + return NULL; + char *message = NULL; FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM |