From: Vicente Jimenez Aguilar Date: Tue, 27 Oct 2009 16:49:59 +0000 (+0100) Subject: Add .sdp to reconized extensions X-Git-Tag: 1.1.0-ff~2680 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a15a7803b11ecc1420e262aebdeacbb635a5b46c;p=vlc Add .sdp to reconized extensions Inspired by Marian Durkovic's commit [80f9f8734a9e5d1fb68ee1e2102aecfbf91c613a] Signed-off-by: RĂ©mi Denis-Courmont --- diff --git a/extras/package/win32/vlc.win32.nsi.in b/extras/package/win32/vlc.win32.nsi.in index 70b2dae9f9..ae341f5042 100644 --- a/extras/package/win32/vlc.win32.nsi.in +++ b/extras/package/win32/vlc.win32.nsi.in @@ -263,6 +263,7 @@ FunctionEnd !insertmacro ${_action} ".ifo" !insertmacro ${_action} ".m3u" !insertmacro ${_action} ".pls" + !insertmacro ${_action} ".sdp" !insertmacro ${_action} ".vlc" !insertmacro ${_action} ".xspf" !macroend diff --git a/include/vlc_interface.h b/include/vlc_interface.h index 6f0514953d..eeaa1824c3 100644 --- a/include/vlc_interface.h +++ b/include/vlc_interface.h @@ -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 diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index cc0363a6cd..cbf3e77c62 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -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 )