diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-10-07 23:26:46 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-10-07 23:26:59 +0200 |
commit | 74cb555882b2d4da9499681cc370aeec4999c3a5 (patch) | |
tree | 70db12a8cc3ec443137937e468263d4f4ded1dd0 | |
parent | 7ea733c8b1159c066ea921cf38707c9608dfee24 (diff) |
Change default bitrate quality
-rw-r--r-- | src/config.hpp | 2 | ||||
-rw-r--r-- | src/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/config.hpp b/src/config.hpp index 33c7e0d..0d8c963 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -24,7 +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; + int32_t video_bitrate = 5000; bool merge_audio_tracks = true; std::vector<std::string> audio_input; std::string color_range; diff --git a/src/main.cpp b/src/main.cpp index 6767fb1..0891755 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2812,7 +2812,7 @@ static GtkWidget* create_common_settings_page(GtkStack *stack, GtkApplication *a gtk_grid_attach(grid, GTK_WIDGET(video_bitrate_grid), 0, grid_row++, 2, 1); gtk_grid_attach(video_bitrate_grid, gtk_label_new("Video bitrate (kbps): "), 0, 0, 1, 1); video_bitrate_entry = GTK_SPIN_BUTTON(gtk_spin_button_new_with_range(1.0, 1000000.0, 1.0)); - gtk_spin_button_set_value(video_bitrate_entry, 54000.0); + gtk_spin_button_set_value(video_bitrate_entry, 5000.0); gtk_widget_set_hexpand(GTK_WIDGET(video_bitrate_entry), true); gtk_grid_attach(video_bitrate_grid, GTK_WIDGET(video_bitrate_entry), 1, 0, 1, 1); |