]> git.sesse.net Git - vlc/commitdiff
Add .sdp to reconized extensions
authorVicente Jimenez Aguilar <googuy@gmail.com>
Tue, 27 Oct 2009 16:49:59 +0000 (17:49 +0100)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 28 Oct 2009 17:45:32 +0000 (19:45 +0200)
Inspired by Marian Durkovic's commit [80f9f8734a9e5d1fb68ee1e2102aecfbf91c613a]

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
extras/package/win32/vlc.win32.nsi.in
include/vlc_interface.h
modules/gui/qt4/components/simple_preferences.cpp

index 70b2dae9f9787a9e92a5048bfe579dabbb8c8424..ae341f5042d96383315504f9a004966d68ddd52f 100644 (file)
@@ -263,6 +263,7 @@ FunctionEnd
   !insertmacro ${_action} ".ifo"
   !insertmacro ${_action} ".m3u"
   !insertmacro ${_action} ".pls"
+  !insertmacro ${_action} ".sdp"
   !insertmacro ${_action} ".vlc"
   !insertmacro ${_action} ".xspf"
 !macroend
index 6f0514953dbe83518a5400f4219dfa4300fd3ce4..eeaa1824c34bab100e94c38b075a1e45d6ed90cd 100644 (file)
@@ -179,7 +179,7 @@ typedef enum vlc_dialog {
                          "*.ogg;*.ogm;*.ogv;*.ogx;*.ps;" \
                          "*.rec;*.rm;*.rmvb;*.tod;*.ts;*.vob;*.wmv"
 
-#define EXTENSIONS_PLAYLIST "*.asx;*.b4s;*.ifo;*.m3u;*.pls;*.ram;*.rar;*.vlc;*.xspf;*.zip"
+#define EXTENSIONS_PLAYLIST "*.asx;*.b4s;*.ifo;*.m3u;*.pls;*.ram;*.rar;*.sdp;*.vlc;*.xspf;*.zip"
 
 #define EXTENSIONS_MEDIA EXTENSIONS_VIDEO ";" EXTENSIONS_AUDIO ";" \
                           EXTENSIONS_PLAYLIST
index cc0363a6cd788abe550acfdb498676d606e3cb9a..cbf3e77c62a399bb2fe1a0b57182c989da2cb121 100644 (file)
@@ -931,8 +931,8 @@ void SPrefsPanel::assoDialog()
                             : Qt::Unchecked );
 
     i_temp = 0;
-    aTo( ".asx" ); aTo( ".b4s" ); aTo( ".ifo" ); aTo( ".m3u" ); aTo( ".pls" ); aTo( ".vlc" );
-    aTo( ".xspf" );
+    aTo( ".asx" ); aTo( ".b4s" ); aTo( ".ifo" ); aTo( ".m3u" ); aTo( ".pls" );
+    aTo( ".sdp" ); aTo( ".vlc" ); aTo( ".xspf" );
     otherType->setCheckState( 0, ( i_temp > 0 ) ?
                               ( ( i_temp == audioType->childCount() ) ?
                                Qt::Checked : Qt::PartiallyChecked )