Mercurial > mplayer.hg
comparison gui/ui/gtk/fileselect.c @ 34849:8e39cb975b4e
Update subtitle file filter for file selector.
Add descriptive names for the subtitle types and add JACOSub (*.jss).
author | ib |
---|---|
date | Mon, 21 May 2012 09:52:25 +0000 |
parents | 716f2ddf8773 |
children | 470c696cc5cf |
comparison
equal
deleted
inserted
replaced
34848:6c750d212873 | 34849:8e39cb975b4e |
---|---|
92 }; | 92 }; |
93 int fsLastVideoFilterSelected = -1; | 93 int fsLastVideoFilterSelected = -1; |
94 | 94 |
95 char * fsSubtitleFilterNames[][2] = | 95 char * fsSubtitleFilterNames[][2] = |
96 { | 96 { |
97 { "AQT (*.aqt)", "*.aqt" }, | 97 { "AQTitle (*.aqt)", "*.aqt" }, |
98 { "ASS (*.ass)", "*.ass" }, | 98 { "Advanced SubStation Alpha (*.ass)", "*.ass" }, |
99 { "RT (*.rt) ", "*.rt" }, | 99 { "JACOSub (*.jss) ", "*.jss" }, |
100 { "SMI (*.smi)", "*.smi" }, | 100 { "RealText (*.rt) ", "*.rt" }, |
101 { "SRT (*.srt)", "*.srt" }, | 101 { "SAMI (*.smi)", "*.smi" }, |
102 { "SSA (*.ssa)", "*.ssa" }, | 102 { "SubRip (*.srt)", "*.srt" }, |
103 { "SUB (*.sub)", "*.sub" }, | 103 { "SubStation Alpha (*.ssa)", "*.ssa" }, |
104 { "TXT (*.txt)", "*.txt" }, | 104 { "MicroDVD (*.sub)", "*.sub" }, |
105 { "UTF (*.utf)", "*.utf" }, | 105 { "Text (*.txt)", "*.txt" }, |
106 { "Subtitles", "*.aqt,*.ass,*.rt,*.smi,*.srt,*.ssa,*.sub,*.txt,*.utf" }, | 106 { "UTF (*.utf)", "*.utf" }, |
107 { "All files", "*" }, | 107 { "All subtitles", "*.aqt,*.ass,*.jss,*.rt,*.smi,*.srt,*.ssa,*.sub,*.txt,*.utf" }, |
108 { "All files", "*" }, | |
108 { NULL,NULL } | 109 { NULL,NULL } |
109 }; | 110 }; |
110 int fsLastSubtitleFilterSelected = -1; | 111 int fsLastSubtitleFilterSelected = -1; |
111 | 112 |
112 char * fsOtherFilterNames[][2] = | 113 char * fsOtherFilterNames[][2] = |