aboutsummaryrefslogtreecommitdiff
path: root/include/GsrInfo.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-12-08 14:32:11 +0100
committerdec05eba <dec05eba@protonmail.com>2024-12-08 14:32:11 +0100
commitf3565fdd77fb480575feec5de252466b093daf86 (patch)
tree1769a3923eda51aabe8a3f8bfa905a4df7a12df4 /include/GsrInfo.hpp
parent6b66eebb6896b768f1b7cd5f37caa01fbf4b7e28 (diff)
Query capture options when opening settings and validate capture options when starting recording
Diffstat (limited to 'include/GsrInfo.hpp')
-rw-r--r--include/GsrInfo.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/GsrInfo.hpp b/include/GsrInfo.hpp
index cd6292c..6ec8e23 100644
--- a/include/GsrInfo.hpp
+++ b/include/GsrInfo.hpp
@@ -52,13 +52,13 @@ namespace gsr {
struct GpuInfo {
GpuVendor vendor = GpuVendor::UNKNOWN;
+ std::string card_path;
};
struct GsrInfo {
SystemInfo system_info;
GpuInfo gpu_info;
SupportedVideoCodecs supported_video_codecs;
- SupportedCaptureOptions supported_capture_options;
};
enum class GsrInfoExitStatus {
@@ -78,4 +78,5 @@ namespace gsr {
std::vector<AudioDevice> get_audio_devices();
std::vector<std::string> get_application_audio();
+ SupportedCaptureOptions get_supported_capture_options(const GsrInfo &gsr_info);
} \ No newline at end of file