[MPlayer-cvslog] r34943 - trunk/gui/ui/gtk/fileselect.c

ib subversion at mplayerhq.hu
Mon May 21 16:41:19 CEST 2012


Author: ib
Date: Mon May 21 16:41:18 2012
New Revision: 34943

Log:
Update video and audio file filter for file selector.

Additionally: Reduce categories, revise descriptive
names and add category "playlists".

Modified:
   trunk/gui/ui/gtk/fileselect.c

Modified: trunk/gui/ui/gtk/fileselect.c
==============================================================================
--- trunk/gui/ui/gtk/fileselect.c	Mon May 21 13:56:52 2012	(r34942)
+++ trunk/gui/ui/gtk/fileselect.c	Mon May 21 16:41:18 2012	(r34943)
@@ -63,31 +63,24 @@ static gint     fsCurrFNameListSelected,
 
 char * fsVideoFilterNames[][2] =
          {
-	   { "ASF files (*.asf)",					"*.asf" },
-	   { "AVI files (*.avi)",					"*.avi" },
-	   { "Autodesk animations (*.fli,*.flc)",			"*.fli,*.flc" },
-	   { "DGStation Cuberevo recordings (*.trp)",			"*.trp" },
-	   { "DiVX files (*.divx)",					"*.divx" },
-	   { "MP3 files (*.mp3,*.mp2)",					"*.mp3,*.mp2" },
-	   { "MPEG files (*.mpg,*.mpeg,*.m1v)",				"*.mpg,*.mpeg,*.m1v" },
-	   { "Macromedia Flash Video (*.flv)",				"*.flv" },
-	   { "Matroska Audio files (*.mka)",				"*.mka" },
-	   { "Matroska Media files (*.mkv)",				"*.mkv" },
-	   { "NuppelVideo files (*.nuv)",				"*.nuv" },
-	   { "OGG Vorbis files (*.ogg)",				"*.ogg" },
-	   { "OGG Media files (*.ogm)",					"*.ogm" },
-	   { "QuickTime files (*.mov,*.qt,*.mp4)",			"*.mov,*.qt,*.mp4" },
-	   { "RealVideo files (*.rm,*.rmvb)",				"*.rm,*.rmvb"  },
-	   { "Tivo files (*.ty)",					"*.ty"  },
-	   { "VCD/SVCD Images (*.bin)",					"*.bin" },
-	   { "VIVO files (*.viv)",					"*.viv" },
-	   { "VOB files (*.vob)",					"*.vob" },
-	   { "Wave files (*.wav)",					"*.wav" },
-	   { "Windows Media Audio (*.wma)",				"*.wma" },
-	   { "Windows Media Video (*.wmv)",				"*.wmv" },
-	   { "Audio files",						"*.mp2,*.mp3,*.mka,*.ogg,*.wav,*.wma" },
-	   { "Video files",						"*.asf,*.avi,*.fli,*.flc,*.trp,*.divx,*.mpg,*.mpeg,*.m1v,*.flv,*.mkv,*.nuv,*.ogm,*.mov,*.qt,*.mp4,*.rm,*.rmvb,*.ty,*.bin,*.viv,*.vob,*.wmv" },
-	   { "All files",						"*" },
+	   { "AVI files",                "*.avi" },
+	   { "DivX files",               "*.divx" },
+	   { "Flash Video",              "*.flv" },
+	   { "MP3 files",                "*.mp3" },
+	   { "MP4 files",                "*.aac,*.f4a,*.f4b,*.f4v,*.m4a,*.m4b,*.m4v,*.mp4" },
+	   { "MPEG files",               "*.m1v,*.m2v,*.mp2,*.mpe,*.mpeg,*.mpg,*.mpga,*.vdr,*.vob" },
+	   { "MPEG-2 transport streams", "*.bdm,*.bdmv,*.clpi,*.cpi,*.m2t,*.m2ts,*.mpl,*.mpls,*.mts,*.rec,*.trp,*.ts,*.ty" },
+	   { "Matroska media",           "*.mka,*.mkv" },
+	   { "OGG media",                "*.oga,*.ogg,*.ogm,*.ogv,*.ogx,*.spx" },
+	   { "QuickTime media",          "*.moov,*.mov,*.qt,*.qtvr" },
+	   { "RealNetworks media",       "*.ra,*.rm,*.rmvb,*.rv" },
+	   { "VCD/SVCD images",          "*.bin" },
+	   { "WAV files",                "*.wav" },
+	   { "Windows media",            "*.asf,*.wma,*.wmv" },
+	   { "Playlists",                "*.asx,*.m3u,*.m3u8,*.pls,*.ram,*.rmj,*.rmm,*.smi,*.smil,*.sml,*.vlc,*.wax,*.wmx,*.wvx" },
+	   { "Audio files",              "*.aac,*.ac3,*.aif,*.aifc,*.aiff,*.amr,*.ape,*.au,*.awb,*.cdg,*.f4a,*.f4b,*.flac,*.m4a,*.m4b,*.mka,*.mp+,*.mp2,*.mp3,*.mpc,*.mpga,*.mpp,*.nsa,*.oga,*.ogg,*.pcm,*.qcp,*.ra,*.snd,*.spx,*.voc,*.vqf,*.w64,*.wav,*.wma,*.wv,*.wvp" },
+	   { "Video files",              "*.264,*.3g2,*.3ga,*.3gp,*.3gp2,*.3gpp,*.3gpp2,*.asf,*.avi,*.bdm,*.bdmv,*.bin,*.clpi,*.cpi,*.divx,*.dv,*.f4v,*.flc,*.fli,*.flv,*.m1v,*.m2t,*.m2ts,*.m2v,*.m4v,*.mkv,*.moov,*.mov,*.mp2,*.mp4,*.mpe,*.mpeg,*.mpg,*.mpl,*.mpls,*.mts,*.mxf,*.nsv,*.nuv,*.ogg,*.ogm,*.ogv,*.ogx,*.pva,*.qt,*.qtvr,*.rec,*.rm,*.rmvb,*.rv,*.spl,*.str,*.swf,*.trp,*.ts,*.ty,*.vdr,*.viv,*.vivo,*.vob,*.webm,*.wmv" },
+	   { "All files",                "*" },
 	   { NULL,NULL }
 	 };
 int fsLastVideoFilterSelected = -1;


More information about the MPlayer-cvslog mailing list