[MPlayer-dev-eng] [PATCH] add *.mpeg to GUI filepicker
Diego Biurrun
diego at biurrun.de
Mon May 13 21:40:17 CEST 2002
Hi!
I just adapted Leslie Polzer's patch
http://mplayerhq.hu/pipermail/mplayer-dev-eng/2002-May/007810.html
to latest CVS, as it did not seem to apply anymore.
This adds *.mpeg to the MPG file selection in the GUI filepicker.
This fixes an annoyance I always had, since all files named *.mpeg
slipped through the cracks before. Should make the GUI a little more
user-friendly ;-)
Diego
--- Gui/mplayer/gtk/fs.c Mon May 13 21:32:00 2002
+++ Gui/mplayer/gtk/fs-diego.c Mon May 13 21:08:08 2002
@@ -40,7 +40,7 @@
#define fsNumberOfVideoFilterNames 9
char * fsVideoFilterNames[fsNumberOfVideoFilterNames+1][2] =
- { { "MPEG files (*.mpg)", "*.mpg" },
+ { { "MPEG files (*.mpg,*.mpeg)", "*.mpg,*.mpeg" },
{ "VOB files (*.vob)", "*.vob" },
{ "AVI files (*.avi)", "*.avi" },
{ "QT files (*.mov)", "*.mov" },
@@ -48,7 +48,7 @@
{ "VIVO files (*.viv)", "*.viv" },
{ "Windows Media Video (*.wmv)", "*.wmv" },
{ "Audio files (*.mp2,*.mp3,*.wma)", "*.mp2,*.mp3,*.wma" },
- { "Video files (*.mpg,*.vob,*.avi,*.mov,*.asf,*.viv,*.wmv)", "*.mpg,*.vob,*.avi,*.mov,*.asf,*.viv,*.wmv" },
+ { "Video files (*.mpg,*.mpeg,*.vob,*.avi,*.mov,*.asf,*.viv,*.wmv)", "*.mpg,*.mpeg,*.vob,*.avi,*.mov,*.asf,*.viv,*.wmv" },
{ "All files (*)", "*" } };
#define fsNumberOfSubtitleFilterNames 9
More information about the MPlayer-dev-eng
mailing list