[vlc-devel] commit: Add .ifo to recognized extensions ( Marian Ďurkovič )

git version control git at videolan.org
Wed Oct 21 10:35:56 CEST 2009


vlc | branch: master | Marian Ďurkovič <md at bts.sk> | Wed Oct 21 10:35:35 2009 +0200| [80f9f8734a9e5d1fb68ee1e2102aecfbf91c613a] | committer: Marian Ďurkovič 

Add .ifo to recognized extensions

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=80f9f8734a9e5d1fb68ee1e2102aecfbf91c613a
---

 extras/package/win32/vlc.win32.nsi.in             |    1 +
 include/vlc_interface.h                           |    2 +-
 modules/gui/qt4/components/simple_preferences.cpp |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/extras/package/win32/vlc.win32.nsi.in b/extras/package/win32/vlc.win32.nsi.in
index 435e14d..70b2dae 100644
--- a/extras/package/win32/vlc.win32.nsi.in
+++ b/extras/package/win32/vlc.win32.nsi.in
@@ -260,6 +260,7 @@ FunctionEnd
   !insertmacro ${_action} ".asx"
   !insertmacro ${_action} ".bin"
   !insertmacro ${_action} ".cue"
+  !insertmacro ${_action} ".ifo"
   !insertmacro ${_action} ".m3u"
   !insertmacro ${_action} ".pls"
   !insertmacro ${_action} ".vlc"
diff --git a/include/vlc_interface.h b/include/vlc_interface.h
index b525a1b..6f05149 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;*.m3u;*.pls;*.ram;*.rar;*.vlc;*.xspf;*.zip"
+#define EXTENSIONS_PLAYLIST "*.asx;*.b4s;*.ifo;*.m3u;*.pls;*.ram;*.rar;*.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 f44f29d..cc0363a 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -931,7 +931,7 @@ void SPrefsPanel::assoDialog()
                             : Qt::Unchecked );
 
     i_temp = 0;
-    aTo( ".asx" ); aTo( ".b4s" ); aTo( ".m3u" ); aTo( ".pls" ); aTo( ".vlc" );
+    aTo( ".asx" ); aTo( ".b4s" ); aTo( ".ifo" ); aTo( ".m3u" ); aTo( ".pls" ); aTo( ".vlc" );
     aTo( ".xspf" );
     otherType->setCheckState( 0, ( i_temp > 0 ) ?
                               ( ( i_temp == audioType->childCount() ) ?




More information about the vlc-devel mailing list