[vlc-devel] open file dialog filetype filter

Brian Robb vascy at hotmail.com
Wed Sep 7 00:26:58 CEST 2005


Currently when you do:

File->Quick Open File the "types of file" filter is listed as:
* files (*)

The attached patch changes the types of file filters to the following:

All Files (*.*)
Video Files 
(*.asf;*.avi;*.divx;*.dv;*.m1v;*.m2v;*.mkv;*.mow;*.mp4;*.mpeg;*.mpeg1;*.mpeg2;*.mpeg4;*.mpg;*.ogm;*.vob;*.wmv)
Audio Files 
(*.a52;*.aac;*.ac3;*.dts;*.flac;*.mka;*.mp1;*.mp2;*.mp3;*.ogg;*.spx;*.wav;*.wma)
Playlist Files (*.m3u;*.pls;*.asx)
Other Files (*.bin;*.cue;*.vlc)

The default filter is "All Files" so it still matches the old behaviour,
but it'll let you filter out files if you want to.

The filter list isn't generated on-the fly.
The filetypes are based on the filetypes shown in the 0.8.2 installer.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: flik-file_dialog_filter.patch
Type: application/octet-stream
Size: 1474 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20050906/841f6302/attachment.obj>


More information about the vlc-devel mailing list