mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-15 07:44:10 +00:00
UI: Log 'Hide OBS from capture' on startup & settings change
This commit is contained in:
parent
269d48f681
commit
2ded0f7050
|
@ -1455,6 +1455,12 @@ bool OBSApp::OBSInit()
|
||||||
blog(LOG_INFO, "Browser Hardware Acceleration: %s",
|
blog(LOG_INFO, "Browser Hardware Acceleration: %s",
|
||||||
browserHWAccel ? "true" : "false");
|
browserHWAccel ? "true" : "false");
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef _WIN32
|
||||||
|
bool hideFromCapture = config_get_bool(globalConfig, "BasicWindow",
|
||||||
|
"HideOBSWindowsFromCapture");
|
||||||
|
blog(LOG_INFO, "Hide OBS windows from screen capture: %s",
|
||||||
|
hideFromCapture ? "true" : "false");
|
||||||
|
#endif
|
||||||
|
|
||||||
blog(LOG_INFO, "Qt Version: %s (runtime), %s (compiled)", qVersion(),
|
blog(LOG_INFO, "Qt Version: %s (runtime), %s (compiled)", qVersion(),
|
||||||
QT_VERSION_STR);
|
QT_VERSION_STR);
|
||||||
|
|
|
@ -3008,6 +3008,9 @@ void OBSBasicSettings::SaveGeneralSettings()
|
||||||
main->SetDisplayAffinity(window);
|
main->SetDisplayAffinity(window);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
blog(LOG_INFO, "Hide OBS windows from screen capture: %s",
|
||||||
|
hide_window ? "true" : "false");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (WidgetChanged(ui->openStatsOnStartup))
|
if (WidgetChanged(ui->openStatsOnStartup))
|
||||||
|
|
Loading…
Reference in a new issue