From 74cb555882b2d4da9499681cc370aeec4999c3a5 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 7 Oct 2024 23:26:46 +0200 Subject: Change default bitrate quality --- src/config.hpp | 2 +- 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 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); -- cgit v1.2.3