Reimplement monitor capture
- Implement windows monitor capture (code is so much cleaner than in OBS1). Will implement duplication capture later - Add GDI texture support to d3d11 graphics library - Fix precision issue with sleep timing, you have to call timeBeginPeriod otherwise windows sleep will be totally erratic.
This commit is contained in:
@@ -194,7 +194,7 @@ void OBSApp::GetFPSCommon(uint32_t &num, uint32_t &den) const
|
||||
const char *val = config_get_string(globalConfig, "Video", "FPSCommon");
|
||||
|
||||
if (strcmp(val, "10") == 0) {
|
||||
num = 30;
|
||||
num = 10;
|
||||
den = 1;
|
||||
} else if (strcmp(val, "20") == 0) {
|
||||
num = 20;
|
||||
|
@@ -71,6 +71,7 @@ void OBSBasic::OBSInit()
|
||||
obs_load_module("mac-capture");
|
||||
#elif _WIN32
|
||||
obs_load_module("win-wasapi");
|
||||
obs_load_module("win-capture");
|
||||
#endif
|
||||
|
||||
/* HACK: fixes a qt bug with native widgets with native repaint */
|
||||
|
Reference in New Issue
Block a user