[vlc-devel] commit: Add .sdp to reconized extensions (Vicente Jimenez Aguilar )
git version control
git at videolan.org
Wed Oct 28 18:45:43 CET 2009
vlc | branch: master | Vicente Jimenez Aguilar <googuy at gmail.com> | Tue Oct 27 17:49:59 2009 +0100| [a15a7803b11ecc1420e262aebdeacbb635a5b46c] | committer: Rémi Denis-Courmont
Add .sdp to reconized extensions
Inspired by Marian Durkovic's commit [80f9f8734a9e5d1fb68ee1e2102aecfbf91c613a]
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a15a7803b11ecc1420e262aebdeacbb635a5b46c
---
extras/package/win32/vlc.win32.nsi.in | 1 +
include/vlc_interface.h | 2 +-
modules/gui/qt4/components/simple_preferences.cpp | 4 ++--
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/extras/package/win32/vlc.win32.nsi.in b/extras/package/win32/vlc.win32.nsi.in
index 70b2dae..ae341f5 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 6f05149..eeaa182 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 cc0363a..cbf3e77 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 )
More information about the vlc-devel
mailing list