Constant bitrate option as default for streaming

This commit is contained in:
dec05eba
2024-10-12 17:43:27 +02:00
parent 9d76b0861e
commit dfafdd9ef5
5 changed files with 25 additions and 4 deletions

View File

@@ -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));