win-capture: Log window capture's target

Closes jp9000/obs-studio#983
This commit is contained in:
Ryan Foster
2017-05-26 04:20:23 -04:00
committed by jp9000
parent bbac3280c1
commit 1db301f907

View File

@@ -43,6 +43,14 @@ static void update_settings(struct window_capture *wc, obs_data_t *s)
build_window_strings(window, &wc->class, &wc->title, &wc->executable);
if (wc->title != NULL) {
blog(LOG_INFO, "[window-capture: '%s'] update settings:\n"
"\texecutable: %s",
obs_source_get_name(wc->source),
wc->executable);
blog(LOG_DEBUG, "\tclass: %s", wc->class);
}
wc->priority = (enum window_priority)priority;
wc->cursor = obs_data_get_bool(s, "cursor");
wc->use_wildcards = obs_data_get_bool(s, "use_wildcards");