aboutsummaryrefslogtreecommitdiff
path: root/src/config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.hpp')
-rw-r--r--src/config.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.hpp b/src/config.hpp
index 4cd0524..33c7e0d 100644
--- a/src/config.hpp
+++ b/src/config.hpp
@@ -24,6 +24,7 @@ struct MainConfig {
int32_t record_area_width = 0;
int32_t record_area_height = 0;
int32_t fps = 60;
+ int32_t video_bitrate = 5400;
bool merge_audio_tracks = true;
std::vector<std::string> audio_input;
std::string color_range;
@@ -305,6 +306,7 @@ static std::map<std::string, ConfigValue> get_config_options(Config &config) {
{"main.record_area_width", {CONFIG_TYPE_I32, &config.main_config.record_area_width}},
{"main.record_area_height", {CONFIG_TYPE_I32, &config.main_config.record_area_height}},
{"main.fps", {CONFIG_TYPE_I32, &config.main_config.fps}},
+ {"main.video_bitrate", {CONFIG_TYPE_I32, &config.main_config.video_bitrate}},
{"main.merge_audio_tracks", {CONFIG_TYPE_BOOL, &config.main_config.merge_audio_tracks}},
{"main.audio_input", {CONFIG_TYPE_STRING_ARRAY, &config.main_config.audio_input}},
{"main.color_range", {CONFIG_TYPE_STRING, &config.main_config.color_range}},