aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-12 17:43:27 +0200
committerdec05eba <dec05eba@protonmail.com>2024-10-12 17:43:27 +0200
commitdfafdd9ef5e8fefa4ac2431c3243cf61c994a6f4 (patch)
treefcbff5ccaf4fb2662601d7468bb5b5a4025dcbce /src/gui
parent9d76b0861eb0249194e96b663fbeca60cd5bfeb0 (diff)
Constant bitrate option as default for streaming
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/SettingsPage.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/SettingsPage.cpp b/src/gui/SettingsPage.cpp
index 2e7035b..8b06499 100644
--- a/src/gui/SettingsPage.cpp
+++ b/src/gui/SettingsPage.cpp
@@ -195,12 +195,15 @@ namespace gsr {
list->add_widget(std::make_unique<Label>(&get_theme().body_font, "Video quality:", get_theme().text_color));
auto video_quality_box = std::make_unique<ComboBox>(&get_theme().body_font);
- video_quality_box->add_item("Custom (Constant bitrate)", "custom");
+ video_quality_box->add_item("Custom (Constant bitrate, recommended for live streaming)", "custom");
video_quality_box->add_item("Medium", "medium");
- video_quality_box->add_item("High (Recommended for live streaming)", "high");
+ video_quality_box->add_item("High", "high");
video_quality_box->add_item("Very high (Recommended)", "very_high");
video_quality_box->add_item("Ultra", "ultra");
- video_quality_box->set_selected_item("very_high");
+ if(type == Type::STREAM)
+ video_quality_box->set_selected_item("custom");
+ else
+ video_quality_box->set_selected_item("very_high");
video_quality_box_ptr = video_quality_box.get();
list->add_widget(std::move(video_quality_box));