diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Config.hpp | 1 | ||||
-rw-r--r-- | include/gui/SettingsPage.hpp | 7 |
2 files changed, 6 insertions, 2 deletions
diff --git a/include/Config.hpp b/include/Config.hpp index 549696e..0d2c822 100644 --- a/include/Config.hpp +++ b/include/Config.hpp @@ -17,6 +17,7 @@ namespace gsr { int32_t record_area_width = 0; int32_t record_area_height = 0; int32_t fps = 60; + int32_t video_bitrate = 5000; bool merge_audio_tracks = true; std::vector<std::string> audio_tracks; std::string color_range = "limited"; diff --git a/include/gui/SettingsPage.hpp b/include/gui/SettingsPage.hpp index e9102da..4f5a7c9 100644 --- a/include/gui/SettingsPage.hpp +++ b/include/gui/SettingsPage.hpp @@ -49,8 +49,9 @@ namespace gsr { std::unique_ptr<List> create_audio_track_section(); std::unique_ptr<CheckBox> create_merge_audio_tracks_checkbox(); std::unique_ptr<Widget> create_audio_device_section(); - std::unique_ptr<ComboBox> create_video_quality_box(); - std::unique_ptr<List> create_video_quality(); + std::unique_ptr<List> create_video_quality_box(); + std::unique_ptr<Entry> create_video_bitrate_entry(); + std::unique_ptr<List> create_video_bitrate(); std::unique_ptr<ComboBox> create_color_range_box(); std::unique_ptr<List> create_color_range(); std::unique_ptr<List> create_video_quality_section(); @@ -115,6 +116,8 @@ namespace gsr { Entry *area_width_entry_ptr = nullptr; Entry *area_height_entry_ptr = nullptr; Entry *framerate_entry_ptr = nullptr; + Entry *video_bitrate_entry_ptr = nullptr; + List *video_bitrate_list_ptr = nullptr; List *audio_devices_list_ptr = nullptr; CheckBox *merge_audio_tracks_checkbox_ptr = nullptr; ComboBox *color_range_box_ptr = nullptr; |