mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-04-23 02:05:02 +09:00
Query capture options when opening settings and validate capture options when starting recording
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user