[vlc-commits] commit: Add extensions to open dialog ones (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Wed Jun 16 21:22:23 CEST 2010


vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jun 16 21:04:55 2010 +0200| [3dc713a162249c4e5dfb099352d4e7bc61717148] | committer: Jean-Baptiste Kempf 

Add extensions to open dialog ones

Patch from Diblo_Dk on the forum, adapted by /me
(cherry picked from commit d5446dd5bcdfcca32eccfa1a75b1365ebe70e2d2)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=3dc713a162249c4e5dfb099352d4e7bc61717148
---

 include/vlc_interface.h |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/include/vlc_interface.h b/include/vlc_interface.h
index 71f4669..1a8cba3 100644
--- a/include/vlc_interface.h
+++ b/include/vlc_interface.h
@@ -172,10 +172,15 @@ typedef enum vlc_dialog {
     "*.a52;" \
     "*.aac;" \
     "*.ac3;" \
+    "*.adt;" \
+    "*.adts;" \
+    "*.aif;"\
+    "*.aifc;"\
     "*.aiff;"\
     "*.amr;" \
     "*.aob;" \
     "*.ape;" \
+    "*.cda;" \
     "*.dts;" \
     "*.flac;"\
     "*.it;"  \
@@ -205,11 +210,11 @@ typedef enum vlc_dialog {
     "*.xa;"  \
     "*.xm"
 
-#define EXTENSIONS_VIDEO "*.3gp;*.amv;*.asf;*.avi;*.divx;*.dv;*.flv;*.gxf;*.iso;*.m1v;*.m2v;" \
-                         "*.m2t;*.m2ts;*.m4v;*.mkv;*.mov;*.mp2;*.mp4;*.mpeg;*.mpeg1;" \
-                         "*.mpeg2;*.mpeg4;*.mpg;*.mts;*.mxf;*.nsv;*.nuv;" \
+#define EXTENSIONS_VIDEO "*.3g2;*.3gp;*.3gp2;*.3gpp;*.amv;*.asf;*.avi;*.bin;*.cue;*.divx;*.dv;*.flv;*.gxf;*.iso;*.m1v;*.m2v;" \
+                         "*.m2t;*.m2ts;*.m4v;*.mkv;*.mov;*.mp2;*.mp2v;*.mp4;*.mp4v;*.mpa;*.mpe;*.mpeg;*.mpeg1;" \
+                         "*.mpeg2;*.mpeg4;*.mpg;*.mpv2;*.mts;*.mxf;*.nsv;*.nuv;" \
                          "*.ogg;*.ogm;*.ogv;*.ogx;*.ps;" \
-                         "*.rec;*.rm;*.rmvb;*.tod;*.ts;*.vob;*.vro;*.webm;*.wmv"
+                         "*.rec;*.rm;*.rmvb;*.tod;*.ts;*.tts;*.vob;*.vro;*.webm;*.wmv"
 
 #define EXTENSIONS_PLAYLIST "*.asx;*.b4s;*.ifo;*.m3u;*.m3u8;*.pls;*.ram;*.rar;*.sdp;*.vlc;*.xspf;*.zip"
 



More information about the vlc-commits mailing list