mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-30 17:58:37 +08:00
win-capture: Add logging for Force SDR checkbox
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user