win-capture: Add logging for Force SDR checkbox

This commit is contained in:
jpark37 committed 2023-02-19 11:40:32 -08:00
1 parent 7bf3015864
commit 695f476553
2 files changed
+8 -4

No files matched your search

@@ -265,10 +265,11 @@ static void log_settings(struct duplicator_capture *capture,
"\tmethod: %s\n"
"\tid: %s\n"
"\talt_id: %s\n"
"\tsetting_id: %s",
"\tsetting_id: %s\n"
"\tforce SDR: %s",
monitor, width, height, capture->capture_cursor ? "true" : "false",
get_method_name(capture->method), capture->id, capture->alt_id,
capture->monitor_id);
capture->monitor_id, capture->force_sdr ? "true" : "false");
}
static enum display_capture_method
+5 -2
View File
@@ -180,9 +180,12 @@ static void log_settings(struct window_capture *wc, obs_data_t *s)
"[window-capture: '%s'] update settings:\n"
"\texecutable: %s\n"
"\tmethod selected: %s\n"
"\tmethod chosen: %s\n",
"\tmethod chosen: %s\n"
"\tforce SDR: %s",
obs_source_get_name(wc->source), wc->executable,
get_method_name(method), get_method_name(wc->method));
get_method_name(method), get_method_name(wc->method),
(wc->force_sdr && (wc->method == METHOD_WGC)) ? "true"
: "false");
blog(LOG_DEBUG, "\tclass: %s", wc->class);
}
}