refactor: 将捕获模式分为两类:屏幕捕获和窗口捕获

尽量不直接使用 GetCaptureMode,而是将捕获模式的特性实现为公共方法
This commit is contained in:
刘旭 2021-12-29 14:15:07 +08:00
commit 6de6d1aee1
8 changed files with 10 additions and 10 deletions

View file

@ -72,7 +72,7 @@ bool GraphicsCaptureFrameSource::Initialize() {
SPDLOG_LOGGER_ERROR(logger, "屏幕捕获失败");
return false;
} else {
_canCapturePopup = true;
_isScreenCapture = true;
}
}
}