From 4a4c613ec5ad201e5378387ebbb41667dbe5b687 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 18 Jul 2024 02:16:04 +0200 Subject: Allow use of software video encoder, add portal properly --- src/config.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/config.hpp') 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 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}}, -- cgit v1.2.3