Merge pull request #3167 from WizardCM/duplicator-log
win-capture: Log duplicator display when updating propertiesmaster
commit
2ba2df6e59
|
@ -51,6 +51,15 @@ static inline void update_settings(struct duplicator_capture *capture,
|
||||||
|
|
||||||
obs_enter_graphics();
|
obs_enter_graphics();
|
||||||
|
|
||||||
|
struct gs_monitor_info info;
|
||||||
|
if (gs_get_duplicator_monitor_info(capture->monitor, &info)) {
|
||||||
|
info("update settings:\n"
|
||||||
|
"\tdisplay: %d (%ldx%ld)\n"
|
||||||
|
"\tcursor: %s",
|
||||||
|
capture->monitor + 1, info.cx, info.cy,
|
||||||
|
capture->capture_cursor ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
gs_duplicator_destroy(capture->duplicator);
|
gs_duplicator_destroy(capture->duplicator);
|
||||||
capture->duplicator = NULL;
|
capture->duplicator = NULL;
|
||||||
capture->width = 0;
|
capture->width = 0;
|
||||||
|
|
Loading…
Reference in New Issue