[vlc-devel] commit: Add m2ts and mts to the interface dialog selectors. ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Sat Aug 2 00:47:44 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Aug 1 15:41:43 2008 -0700| [5d313c65e44d8963262fdbc5d5d52f5169f3f787] | committer: Jean-Baptiste Kempf
Add m2ts and mts to the interface dialog selectors.
Synchronise supported extensions.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5d313c65e44d8963262fdbc5d5d52f5169f3f787
---
extras/package/win32/vlc.win32.nsi.in | 13 ++++++++++++-
include/vlc_interface.h | 4 ++--
modules/gui/qt4/components/simple_preferences.cpp | 10 +++++-----
3 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/extras/package/win32/vlc.win32.nsi.in b/extras/package/win32/vlc.win32.nsi.in
index 91d3d69..6a80cae 100644
--- a/extras/package/win32/vlc.win32.nsi.in
+++ b/extras/package/win32/vlc.win32.nsi.in
@@ -199,14 +199,20 @@ FunctionEnd
!insertmacro ${_action} ".ac3"
!insertmacro ${_action} ".dts"
!insertmacro ${_action} ".flac"
+ !insertmacro ${_action} ".m4a"
+ !insertmacro ${_action} ".m4p"
!insertmacro ${_action} ".mka"
+ !insertmacro ${_action} ".mod"
!insertmacro ${_action} ".mp1"
!insertmacro ${_action} ".mp2"
!insertmacro ${_action} ".mp3"
+ !insertmacro ${_action} ".oma"
!insertmacro ${_action} ".ogg"
!insertmacro ${_action} ".spx"
!insertmacro ${_action} ".wav"
!insertmacro ${_action} ".wma"
+ !insertmacro ${_action} ".wma"
+ !insertmacro ${_action} ".xm"
!macroend
!macro MacroVideoExtensions _action
@@ -214,8 +220,12 @@ FunctionEnd
!insertmacro ${_action} ".avi"
!insertmacro ${_action} ".divx"
!insertmacro ${_action} ".dv"
+ !insertmacro ${_action} ".flv"
+ !insertmacro ${_action} ".gxf"
!insertmacro ${_action} ".m1v"
!insertmacro ${_action} ".m2v"
+ !insertmacro ${_action} ".m2ts"
+ !insertmacro ${_action} ".m4v"
!insertmacro ${_action} ".mkv"
!insertmacro ${_action} ".mov"
!insertmacro ${_action} ".mp4"
@@ -224,10 +234,11 @@ FunctionEnd
!insertmacro ${_action} ".mpeg2"
!insertmacro ${_action} ".mpeg4"
!insertmacro ${_action} ".mpg"
+ !insertmacro ${_action} ".mts"
!insertmacro ${_action} ".mxf"
+ !insertmacro ${_action} ".ogm"
!insertmacro ${_action} ".ps"
!insertmacro ${_action} ".ts"
- !insertmacro ${_action} ".ogm"
!insertmacro ${_action} ".vob"
!insertmacro ${_action} ".wmv"
!macroend
diff --git a/include/vlc_interface.h b/include/vlc_interface.h
index 60fcff8..65febc9 100644
--- a/include/vlc_interface.h
+++ b/include/vlc_interface.h
@@ -183,8 +183,8 @@ typedef enum vlc_dialog {
"*.wav;*.wma;*.xm"
#define EXTENSIONS_VIDEO "*.asf;*.avi;*.divx;*.dv;*.flv;*.gxf;*.m1v;*.m2v;" \
- "*.m4v;*.mkv;*.mov;*.mp2;*.mp4;*.mpeg;*.mpeg1;" \
- "*.mpeg2;*.mpeg4;*.mpg;*.mxf;*.ogg;*.ogm;" \
+ "*.m2ts;*.m4v;*.mkv;*.mov;*.mp2;*.mp4;*.mpeg;*.mpeg1;" \
+ "*.mpeg2;*.mpeg4;*.mpg;*.mts;*.mxf;*.ogg;*.ogm;" \
"*.ps;*.ts;*.vob;*.wmv"
#define EXTENSIONS_PLAYLIST "*.asx;*.b4s;*.m3u;*.pls;*.vlc;*.xspf"
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index 980b504..dd6ea8d 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -774,8 +774,8 @@ void SPrefsPanel::assoDialog()
aTa( ".a52" ); aTa( ".aac" ); aTa( ".ac3" ); aTa( ".dts" ); aTa( ".flac" );
aTa( ".m4a" ); aTa( ".m4p" ); aTa( ".mka" ); aTa( ".mod" ); aTa( ".mp1" );
- aTa( ".mp2" ); aTa( ".mp3" ); aTa( ".ogg" ); aTa( ".spx" ); aTa( ".wav" );
- aTa( ".wma" ); aTa( ".xm" );
+ aTa( ".mp2" ); aTa( ".mp3" ); aTa( ".oma" ); aTa( ".ogg" ); aTa( ".spx" );
+ aTa( ".wav" ); aTa( ".wma" ); aTa( ".xm" );
audioType->setCheckState( 0, ( i_temp > 0 ) ?
( ( i_temp == audioType->childCount() ) ?
Qt::Checked : Qt::PartiallyChecked )
@@ -783,10 +783,10 @@ void SPrefsPanel::assoDialog()
i_temp = 0;
aTv( ".asf" ); aTv( ".avi" ); aTv( ".divx" ); aTv( ".dv" ); aTv( ".flv" );
- aTv( ".gxf" ); aTv( ".m1v" ); aTv( ".m2v" ); aTv( ".m4v" ); aTv( ".mkv" );
- aTv( ".mov" ); aTv( ".mp2" ); aTv( ".mp4" ); aTv( ".mpeg" );
+ aTv( ".gxf" ); aTv( ".m1v" ); aTv( ".m2v" ); aTv( ".m2ts" ); aTv( ".m4v" );
+ aTv( ".mkv" ); aTv( ".mov" ); aTv( ".mp2" ); aTv( ".mp4" ); aTv( ".mpeg" );
aTv( ".mpeg1" ); aTv( ".mpeg2" ); aTv( ".mpeg4" ); aTv( ".mpg" );
- aTv( ".mxf" ); aTv( ".ogm" ); aTv( ".ps" ); aTv( ".ts" );
+ aTv( ".mts" ); aTv( ".mxf" ); aTv( ".ogm" ); aTv( ".ps" ); aTv( ".ts" );
aTv( ".vob" ); aTv( ".wmv" );
videoType->setCheckState( 0, ( i_temp > 0 ) ?
( ( i_temp == audioType->childCount() ) ?
More information about the vlc-devel
mailing list