aboutsummaryrefslogtreecommitdiff
path: root/src/config.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-18 02:16:04 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-18 02:16:04 +0200
commit4a4c613ec5ad201e5378387ebbb41667dbe5b687 (patch)
tree3903edef42b18870447f810708b59e93a069b70c /src/config.hpp
parent4a08768cc34dd6aa0a42f2d05da2098316440729 (diff)
Allow use of software video encoder, add portal properly
Diffstat (limited to 'src/config.hpp')
-rw-r--r--src/config.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.hpp b/src/config.hpp
index be58704..1bea56c 100644
--- a/src/config.hpp
+++ b/src/config.hpp
@@ -36,6 +36,8 @@ struct MainConfig {
bool show_notifications = true;
bool record_cursor = true;
bool hide_window_when_recording = false;
+ bool software_encoding_warning_shown = false;
+ bool restore_portal_session = true;
};
struct YoutubeStreamConfig {
@@ -310,6 +312,8 @@ static std::map<std::string, ConfigValue> get_config_options(Config &config) {
{"main.show_notifications", {CONFIG_TYPE_BOOL, &config.main_config.show_notifications}},
{"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.restore_portal_session", {CONFIG_TYPE_BOOL, &config.main_config.restore_portal_session}},
{"streaming.service", {CONFIG_TYPE_STRING, &config.streaming_config.streaming_service}},
{"streaming.youtube.key", {CONFIG_TYPE_STRING, &config.streaming_config.youtube.stream_key}},