[vlc-devel] [PATCH 3/3] Fix audio file filter

Jean-Francois Massol jf.massol at gmail.com
Wed Jul 8 22:58:19 CEST 2009


---
 include/vlc_interface.h                           |    2 +-
 modules/gui/qt4/components/simple_preferences.cpp |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/vlc_interface.h b/include/vlc_interface.h
index 658a1d4..d8e8172 100644
--- a/include/vlc_interface.h
+++ b/include/vlc_interface.h
@@ -168,7 +168,7 @@ typedef enum vlc_dialog {
 #define INTF_ABOUT_MSG LICENSE_MSG
 
 #define EXTENSIONS_AUDIO "*.a52;*.aac;*.ac3;*.ape;*.dts;*.flac;*.it;" \
-                         "*.m4a;*.m4p;*.mka;*.mlp;*.mod;*.mp1;*.mp2;*.mp3;" \
+                         "*.m4a;*.m4p;*.mka;*.mlp;*.mod;*.mp1;*.mp2;*.mp3;*.mpc" \
                          "*.oga;*.ogg;*.oma;*.s3m;*.spx;" \
                          "*.wav;*.wma;*.wv;*.xm"
 
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 1451d1a..587798f 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -840,8 +840,8 @@ void SPrefsPanel::assoDialog()
 
     aTa( ".a52" ); aTa( ".aac" ); aTa( ".ac3" ); aTa( ".dts" ); aTa( ".flac" );
     aTa( ".m4a" ); aTa( ".m4p" ); aTa( ".mka" ); aTa( ".mod" ); aTa( ".mp1" );
-    aTa( ".mp2" ); aTa( ".mp3" ); aTa( ".mpc" ); aTa( ".oma" ); aTa( ".oga" ); 
-    aTa( ".spx" ); aTa( ".wav" ); aTa( ".wma" ); aTa( ".xm" );
+    aTa( ".mp2" ); aTa( ".mp3" ); aTa( ".oma" ); aTa( ".oga" ); aTa( ".spx" );
+    aTa( ".wav" ); aTa( ".wma" ); aTa( ".xm" ); aTa( ".mpc" );
     audioType->setCheckState( 0, ( i_temp > 0 ) ?
                               ( ( i_temp == audioType->childCount() ) ?
                                Qt::Checked : Qt::PartiallyChecked )
-- 
1.6.3.3




More information about the vlc-devel mailing list