diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-31 00:36:33 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-31 00:36:33 +0200 |
commit | 8013f40c74e2da19ebc0a14d17a85a82d74ead20 (patch) | |
tree | 554462cc230d3c6832a14bd3c39eb37229ac713e /src/config.hpp | |
parent | 38b0260297d208fee862e3da411b2b42cee803d8 (diff) |
Allow recording on steam deck (show warning), make it clear which video codec is best
Diffstat (limited to 'src/config.hpp')
-rw-r--r-- | src/config.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<std::string, ConfigValue> 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}}, |