aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-05-10 23:27:38 +0200
committerdec05eba <dec05eba@protonmail.com>2024-05-10 23:27:38 +0200
commit98e1a5ee8c9a2865c267cef0f0ebc5fe3382e9e2 (patch)
tree6cf107dbc39ede16fc3c5b88119d25f761b312db /src
parent49a4b976f52c6118ab5fb8a4aca052d52b31e238 (diff)
Remove flac for now
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4e62fff..e6fdf11 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2505,7 +2505,6 @@ static GtkWidget* create_common_settings_page(GtkStack *stack, GtkApplication *a
audio_codec_input_menu = GTK_COMBO_BOX_TEXT(gtk_combo_box_text_new());
gtk_combo_box_text_append(audio_codec_input_menu, "opus", "Opus (Recommended)");
gtk_combo_box_text_append(audio_codec_input_menu, "aac", "AAC");
- gtk_combo_box_text_append(audio_codec_input_menu, "flac", "FLAC");
gtk_widget_set_hexpand(GTK_WIDGET(audio_codec_input_menu), true);
gtk_grid_attach(audio_codec_grid, GTK_WIDGET(audio_codec_input_menu), 1, 0, 1, 1);
gtk_combo_box_set_active(GTK_COMBO_BOX(audio_codec_input_menu), 0);
@@ -3148,7 +3147,7 @@ static void load_config(const gpu_info &gpu_inf) {
if(!wayland && (config.main_config.codec == "hevc_hdr" || config.main_config.codec == "av1_hdr"))
config.main_config.codec = "auto";
- if(config.main_config.audio_codec != "opus" && config.main_config.audio_codec != "aac" && config.main_config.audio_codec != "flac")
+ if(config.main_config.audio_codec != "opus" && config.main_config.audio_codec != "aac")
config.main_config.audio_codec = "opus";
if(config.main_config.framerate_mode != "auto" && config.main_config.framerate_mode != "cfr" && config.main_config.framerate_mode != "vfr")