File 0ecc6721d5078c0bc9cae771d485c8d676443c23.patch of Package aqualung
From 0ecc6721d5078c0bc9cae771d485c8d676443c23 Mon Sep 17 00:00:00 2001
From: Daniel Engberg <daniel.engberg.lists@pyret.net>
Date: Fri, 23 Jun 2023 10:13:29 +0200
Subject: [PATCH] Add more supported formats to FFmpeg decoder
Add a bunch of support formats to FFmpeg decoder to reduce amount of dependencies
---
src/utils_gui.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/utils_gui.c b/src/utils_gui.c
index 2d8c187..439dfec 100644
--- a/src/utils_gui.c
+++ b/src/utils_gui.c
@@ -499,8 +499,10 @@ assign_audio_fc_filters(GtkFileChooser * fc) {
gtk_file_filter_set_name(filter, _("LAVC audio/video files"));
{
char * valid_ext_lavc[] = {
- "aac", "ac3", "asf", "avi", "m4a", "mpeg", "mpg", "mp3", "ra",
- "wav", "wma", "wv", NULL };
+ "aac", "ac3", "aiff", "ape", "asf", "au", "avi", "flac", "m4a",
+ "mpa", "mpc", "mpeg", "mpega", "mpg", "mpga", "mp1", "mp2",
+ "mp2a", "mp3", "mpa2", "ogg", "ra", "spx", "voc", "w64", "wav",
+ "wma", "wv", NULL };
build_filter_from_extensions(filter, filter_all, valid_ext_lavc);
}
gtk_file_chooser_add_filter(fc, filter);