libobs: Reduce unnecessary logging (info -> debug)

(Note: This commit also modifies coreaudio-encoder, win-capture, and
win-mf modules)

This reduces logging to the user's log file.  Most of the things
specified are not useful for examining log files, and make reading log
files more painful.

The things that are useful to log should be up to the front-end to
implement.  The core and core plugins should have minimal mandatory
logging.
This commit is contained in:
jp9000
2016-08-05 15:36:10 -07:00
parent ed829e93ae
commit 526d390adb
9 changed files with 16 additions and 21 deletions

View File

@@ -413,7 +413,7 @@ static bool load_lib(void)
#define LOAD_LIB(x, n) x = LoadLibrary(TEXT(n)); \
if (!x) \
CA_LOG(LOG_WARNING, "Failed loading library '" n "'");
CA_LOG(LOG_DEBUG, "Failed loading library '" n "'");
LOAD_LIB(audio_toolbox, "CoreAudioToolbox.dll");
#undef LOAD_LIB

View File

@@ -32,7 +32,7 @@ bool DeckLinkDeviceDiscovery::Init(void)
initialized = result == S_OK;
if (!initialized)
blog(LOG_INFO, "Failed to start search for DeckLink devices");
blog(LOG_DEBUG, "Failed to start search for DeckLink devices");
return initialized;
}

View File

@@ -158,7 +158,7 @@ extern "C" void RegisterMFAACEncoder()
info.get_extra_data = MFAAC_GetExtraData;
info.get_audio_info = MFAAC_GetAudioInfo;
MF_LOG(LOG_INFO, "Adding Media Foundation AAC Encoder");
MF_LOG(LOG_DEBUG, "Adding Media Foundation AAC Encoder");
obs_register_encoder(&info);