From 8013f40c74e2da19ebc0a14d17a85a82d74ead20 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 31 Aug 2024 00:36:33 +0200 Subject: Allow recording on steam deck (show warning), make it clear which video codec is best --- src/config.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/config.hpp') diff --git a/src/config.hpp b/src/config.hpp index c69ff03..4e01b6b 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -39,6 +39,7 @@ struct MainConfig { bool record_cursor = true; bool hide_window_when_recording = false; bool software_encoding_warning_shown = false; + bool steam_deck_warning_shown = false; bool restore_portal_session = true; }; @@ -317,6 +318,7 @@ static std::map get_config_options(Config &config) { {"main.record_cursor", {CONFIG_TYPE_BOOL, &config.main_config.record_cursor}}, {"main.hide_window_when_recording", {CONFIG_TYPE_BOOL, &config.main_config.hide_window_when_recording}}, {"main.software_encoding_warning_shown", {CONFIG_TYPE_BOOL, &config.main_config.software_encoding_warning_shown}}, + {"main.steam_deck_warning_shown", {CONFIG_TYPE_BOOL, &config.main_config.steam_deck_warning_shown}}, {"main.restore_portal_session", {CONFIG_TYPE_BOOL, &config.main_config.restore_portal_session}}, {"streaming.service", {CONFIG_TYPE_STRING, &config.streaming_config.streaming_service}}, -- cgit v1.2.3