Mercurial > mplayer.hg
annotate libmpdemux/genres.h @ 31246:cc6ee3017097
Limit buffered PTS only when we actually got a frame from the decoder.
This avoids some issues with H.264 PAFF due to dropping PTS values too
early because only every second packet actually produced output.
Just keeping up to one additional pts value would have avoided this
particular issue as well, but this is more generic.
author | reimar |
---|---|
date | Thu, 03 Jun 2010 20:59:40 +0000 |
parents | 0f1b5b68af32 |
children | 64ba1daa147a |
rev | line source |
---|---|
4694 | 1 /*********************************** |
2 * Copyright (C) 2001 Jason Carter | |
28247
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
3 * |
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
4 * This program is free software; you can redistribute it and/or |
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
5 * modify it under the terms of the GNU General Public License |
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
6 * as published by the Free Software Foundation; either version 2 |
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
7 * of the License, or (at your option) any later version. |
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
8 * |
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
9 * This program is distributed in the hope that it will be useful, |
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
12 * GNU General Public License for more details. |
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
13 * |
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
14 * You should have received a copy of the GNU General Public License |
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
15 * along with this program; if not, write to the Free Software |
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
337b957ebae8
Replace reference to LICENSE file with GPL notice from said file.
diego
parents:
26029
diff
changeset
|
17 * |
4694 | 18 *********************************** |
19 * FILE: GENRES.H | |
20 * NAME: ID3EDIT - ID3 tag v 1.1 editor | |
29263
0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
diego
parents:
28248
diff
changeset
|
21 * DESCRIPTION: Genres character array |
4694 | 22 * AUTHOR: Jason Carter |
23 *********************************** | |
13081
d0bf68abedf8
more genre IDs by Bernd Ernesti <mplayer@lists.veego.de>
diego
parents:
4694
diff
changeset
|
24 * |
d0bf68abedf8
more genre IDs by Bernd Ernesti <mplayer@lists.veego.de>
diego
parents:
4694
diff
changeset
|
25 * Initially modified for use with MPlayer by Diego Biurrun on 2004-08-22 |
d0bf68abedf8
more genre IDs by Bernd Ernesti <mplayer@lists.veego.de>
diego
parents:
4694
diff
changeset
|
26 * $Id$ |
18783 | 27 * detailed changelog at http://svn.mplayerhq.hu/mplayer/trunk/ |
4694 | 28 */ |
29 | |
26029 | 30 #ifndef MPLAYER_GENRES_H |
31 #define MPLAYER_GENRES_H | |
4694 | 32 |
33 | |
25240 | 34 const char * const genres[] = { |
4694 | 35 "Blues", /* 0 */ |
36 "Classic Rock", /* 1 */ | |
37 "Country", /* 2 */ | |
38 "Dance", /* 3 */ | |
39 "Disco", /* 4 */ | |
40 "Funk", /* 5 */ | |
41 "Grunge", /* 6 */ | |
42 "Hip-Hop", /* 7 */ | |
43 "Jazz", /* 8 */ | |
44 "Metal", /* 9 */ | |
45 "New Age", /* 10 */ | |
46 "Oldies", /* 11 */ | |
47 "Other", /* 12 */ | |
48 "Pop", /* 13 */ | |
49 "R&B", /* 14 */ | |
50 "Rap", /* 15 */ | |
51 "Reggae", /* 16 */ | |
52 "Rock", /* 17 */ | |
53 "Techno", /* 18 */ | |
54 "Industrial", /* 19 */ | |
55 "Alternative", /* 20 */ | |
56 "Ska", /* 21 */ | |
57 "Death Metal", /* 22 */ | |
58 "Pranks", /* 23 */ | |
59 "Soundtrack", /* 24 */ | |
60 "Eurotechno", /* 25 */ | |
61 "Ambient", /* 26 */ | |
62 "Trip-Hop", /* 27 */ | |
63 "Vocal", /* 28 */ | |
64 "Jazz+Funk", /* 29 */ | |
65 "Fusion", /* 30 */ | |
66 "Trance", /* 31 */ | |
67 "Classical", /* 32 */ | |
68 "Instrumental", /* 33 */ | |
69 "Acid", /* 34 */ | |
70 "House", /* 35 */ | |
71 "Game", /* 36 */ | |
72 "Sound Clip", /* 37 */ | |
73 "Gospel", /* 38 */ | |
74 "Noise", /* 39 */ | |
75 "Alternative Rock", /* 40 */ | |
76 "Bass", /* 41 */ | |
77 "Soul", /* 42 */ | |
78 "Punk", /* 43 */ | |
79 "Space", /* 44 */ | |
80 "Meditative", /* 45 */ | |
81 "Instrumental Pop", /* 46 */ | |
82 "Instrumental Rock", /* 47 */ | |
83 "Ethnic", /* 48 */ | |
84 "Gothic", /* 49 */ | |
85 "Darkwave", /* 50 */ | |
86 "Techno-Industrial", /* 51 */ | |
87 "Electronic", /* 52 */ | |
28248
a1018d2c4ad3
Rearrange genres between numbers 53 and 63 into the correct order.
diego
parents:
28247
diff
changeset
|
88 "Pop-Folk", /* 53 */ |
a1018d2c4ad3
Rearrange genres between numbers 53 and 63 into the correct order.
diego
parents:
28247
diff
changeset
|
89 "Eurodance", /* 54 */ |
a1018d2c4ad3
Rearrange genres between numbers 53 and 63 into the correct order.
diego
parents:
28247
diff
changeset
|
90 "Dream", /* 55 */ |
a1018d2c4ad3
Rearrange genres between numbers 53 and 63 into the correct order.
diego
parents:
28247
diff
changeset
|
91 "Southern Rock", /* 56 */ |
a1018d2c4ad3
Rearrange genres between numbers 53 and 63 into the correct order.
diego
parents:
28247
diff
changeset
|
92 "Comedy", /* 57 */ |
a1018d2c4ad3
Rearrange genres between numbers 53 and 63 into the correct order.
diego
parents:
28247
diff
changeset
|
93 "Cult", /* 58 */ |
a1018d2c4ad3
Rearrange genres between numbers 53 and 63 into the correct order.
diego
parents:
28247
diff
changeset
|
94 "Gangsta", /* 59 */ |
a1018d2c4ad3
Rearrange genres between numbers 53 and 63 into the correct order.
diego
parents:
28247
diff
changeset
|
95 "Top 40", /* 60 */ |
a1018d2c4ad3
Rearrange genres between numbers 53 and 63 into the correct order.
diego
parents:
28247
diff
changeset
|
96 "Christian Rap", /* 61 */ |
a1018d2c4ad3
Rearrange genres between numbers 53 and 63 into the correct order.
diego
parents:
28247
diff
changeset
|
97 "Pop/Funk", /* 62 */ |
a1018d2c4ad3
Rearrange genres between numbers 53 and 63 into the correct order.
diego
parents:
28247
diff
changeset
|
98 "Jungle", /* 63 */ |
4694 | 99 "Native American", /* 64 */ |
100 "Cabaret", /* 65 */ | |
101 "New Wave", /* 66 */ | |
102 "Psychadelic", /* 67 */ | |
103 "Rave", /* 68 */ | |
104 "Show Tunes", /* 69 */ | |
105 "Trailer", /* 70 */ | |
106 "Lo-Fi", /* 71 */ | |
107 "Tribal", /* 72 */ | |
108 "Acid Punk", /* 73 */ | |
109 "Acid Jazz", /* 74 */ | |
110 "Polka", /* 75 */ | |
111 "Retro", /* 76 */ | |
112 "Musical", /* 77 */ | |
113 "Rock & Roll", /* 78 */ | |
114 "Hard Rock", /* 79 */ | |
115 "Folk", /* 80 */ | |
116 "Folk/Rock", /* 81 */ | |
117 "National Folk", /* 82 */ | |
118 "Swing", /* 83 */ | |
119 "Fast-Fusion", /* 84 */ | |
120 "Bebop", /* 85 */ | |
121 "Latin", /* 86 */ | |
122 "Revival", /* 87 */ | |
123 "Celtic", /* 88 */ | |
124 "Bluegrass", /* 89 */ | |
125 "Avantgarde", /* 90 */ | |
126 "Gothic Rock", /* 91 */ | |
127 "Progressive Rock", /* 92 */ | |
128 "Psychedelic Rock", /* 93 */ | |
129 "Symphonic Rock", /* 94 */ | |
130 "Slow Rock", /* 95 */ | |
131 "Big Band", /* 96 */ | |
132 "Chorus", /* 97 */ | |
133 "Easy Listening", /* 98 */ | |
134 "Acoustic", /* 99 */ | |
135 "Humour", /* 100 */ | |
136 "Speech", /* 101 */ | |
137 "Chanson", /* 102 */ | |
138 "Opera", /* 103 */ | |
139 "Chamber Music", /* 104 */ | |
140 "Sonata", /* 105 */ | |
141 "Symphony", /* 106 */ | |
142 "Booty Bass", /* 107 */ | |
143 "Primus", /* 108 */ | |
144 "Porn Groove", /* 109 */ | |
145 "Satire", /* 110 */ | |
146 "Slow Jam", /* 111 */ | |
147 "Club", /* 112 */ | |
148 "Tango", /* 113 */ | |
149 "Samba", /* 114 */ | |
150 "Folklore", /* 115 */ | |
151 "Ballad", /* 116 */ | |
152 "Power Ballad", /* 117 */ | |
153 "Rhytmic Soul", /* 118 */ | |
154 "Freestyle", /* 119 */ | |
155 "Duet", /* 120 */ | |
156 "Punk Rock", /* 121 */ | |
157 "Drum Solo", /* 122 */ | |
158 "Acapella", /* 123 */ | |
159 "Euro-House", /* 124 */ | |
160 "Dance Hall", /* 125 */ | |
161 "Goa", /* 126 */ | |
162 "Drum & Bass", /* 127 */ | |
163 "Club-House", /* 128 */ | |
164 "Hardcore", /* 129 */ | |
165 "Terror", /* 130 */ | |
166 "Indie", /* 131 */ | |
167 "BritPop", /* 132 */ | |
168 "Negerpunk", /* 133 */ | |
169 "Polsk Punk", /* 134 */ | |
170 "Beat", /* 135 */ | |
171 "Christian Gangsta Rap", /* 136 */ | |
172 "Heavy Metal", /* 137 */ | |
173 "Black Metal", /* 138 */ | |
174 "Crossover", /* 139 */ | |
175 "Contemporary Christian", /* 140 */ | |
176 "Christian Rock", /* 141 */ | |
13081
d0bf68abedf8
more genre IDs by Bernd Ernesti <mplayer@lists.veego.de>
diego
parents:
4694
diff
changeset
|
177 "Merengue", /* 142 */ |
d0bf68abedf8
more genre IDs by Bernd Ernesti <mplayer@lists.veego.de>
diego
parents:
4694
diff
changeset
|
178 "Salsa", /* 143 */ |
d0bf68abedf8
more genre IDs by Bernd Ernesti <mplayer@lists.veego.de>
diego
parents:
4694
diff
changeset
|
179 "Thrash Metal", /* 144 */ |
d0bf68abedf8
more genre IDs by Bernd Ernesti <mplayer@lists.veego.de>
diego
parents:
4694
diff
changeset
|
180 "Anime", /* 145 */ |
d0bf68abedf8
more genre IDs by Bernd Ernesti <mplayer@lists.veego.de>
diego
parents:
4694
diff
changeset
|
181 "Jpop", /* 146 */ |
d0bf68abedf8
more genre IDs by Bernd Ernesti <mplayer@lists.veego.de>
diego
parents:
4694
diff
changeset
|
182 "Synthpop", /* 147 */ |
4694 | 183 "Unknown", /* 148 */ |
184 "Unknown", /* 149 */ | |
185 "Unknown", /* 150 */ | |
186 "Unknown", /* 151 */ | |
187 "Unknown", /* 152 */ | |
188 "Unknown", /* 153 */ | |
189 "Unknown", /* 154 */ | |
190 "Unknown", /* 155 */ | |
191 "Unknown", /* 156 */ | |
192 "Unknown", /* 157 */ | |
193 "Unknown", /* 158 */ | |
194 "Unknown", /* 159 */ | |
195 "Unknown", /* 160 */ | |
196 "Unknown", /* 161 */ | |
197 "Unknown", /* 162 */ | |
198 "Unknown", /* 163 */ | |
199 "Unknown", /* 164 */ | |
200 "Unknown", /* 165 */ | |
201 "Unknown", /* 166 */ | |
202 "Unknown", /* 167 */ | |
203 "Unknown", /* 168 */ | |
204 "Unknown", /* 169 */ | |
205 "Unknown", /* 170 */ | |
206 "Unknown", /* 171 */ | |
207 "Unknown", /* 172 */ | |
208 "Unknown", /* 173 */ | |
209 "Unknown", /* 174 */ | |
210 "Unknown", /* 175 */ | |
211 "Unknown", /* 176 */ | |
212 "Unknown", /* 177 */ | |
213 "Unknown", /* 178 */ | |
214 "Unknown", /* 179 */ | |
215 "Unknown", /* 180 */ | |
216 "Unknown", /* 181 */ | |
217 "Unknown", /* 182 */ | |
218 "Unknown", /* 183 */ | |
219 "Unknown", /* 184 */ | |
220 "Unknown", /* 185 */ | |
221 "Unknown", /* 186 */ | |
222 "Unknown", /* 187 */ | |
223 "Unknown", /* 188 */ | |
224 "Unknown", /* 189 */ | |
225 "Unknown", /* 190 */ | |
226 "Unknown", /* 191 */ | |
227 "Unknown", /* 192 */ | |
228 "Unknown", /* 193 */ | |
229 "Unknown", /* 194 */ | |
230 "Unknown", /* 195 */ | |
231 "Unknown", /* 196 */ | |
232 "Unknown", /* 197 */ | |
233 "Unknown", /* 198 */ | |
234 "Unknown", /* 199 */ | |
235 "Unknown", /* 200 */ | |
236 "Unknown", /* 201 */ | |
237 "Unknown", /* 202 */ | |
238 "Unknown", /* 203 */ | |
239 "Unknown", /* 204 */ | |
240 "Unknown", /* 205 */ | |
241 "Unknown", /* 206 */ | |
242 "Unknown", /* 207 */ | |
243 "Unknown", /* 208 */ | |
244 "Unknown", /* 209 */ | |
245 "Unknown", /* 210 */ | |
246 "Unknown", /* 211 */ | |
247 "Unknown", /* 212 */ | |
248 "Unknown", /* 213 */ | |
249 "Unknown", /* 214 */ | |
250 "Unknown", /* 215 */ | |
251 "Unknown", /* 216 */ | |
252 "Unknown", /* 217 */ | |
253 "Unknown", /* 218 */ | |
254 "Unknown", /* 219 */ | |
255 "Unknown", /* 220 */ | |
256 "Unknown", /* 221 */ | |
257 "Unknown", /* 222 */ | |
258 "Unknown", /* 223 */ | |
259 "Unknown", /* 224 */ | |
260 "Unknown", /* 225 */ | |
261 "Unknown", /* 226 */ | |
262 "Unknown", /* 227 */ | |
263 "Unknown", /* 228 */ | |
264 "Unknown", /* 229 */ | |
265 "Unknown", /* 230 */ | |
266 "Unknown", /* 231 */ | |
267 "Unknown", /* 232 */ | |
268 "Unknown", /* 233 */ | |
269 "Unknown", /* 234 */ | |
270 "Unknown", /* 235 */ | |
271 "Unknown", /* 236 */ | |
272 "Unknown", /* 237 */ | |
273 "Unknown", /* 238 */ | |
274 "Unknown", /* 239 */ | |
275 "Unknown", /* 240 */ | |
276 "Unknown", /* 241 */ | |
277 "Unknown", /* 242 */ | |
278 "Unknown", /* 243 */ | |
279 "Unknown", /* 244 */ | |
280 "Unknown", /* 245 */ | |
281 "Unknown", /* 246 */ | |
282 "Unknown", /* 247 */ | |
283 "Unknown", /* 248 */ | |
284 "Unknown", /* 249 */ | |
285 "Unknown", /* 250 */ | |
286 "Unknown", /* 251 */ | |
287 "Unknown", /* 252 */ | |
288 "Unknown", /* 253 */ | |
289 "Unknown", /* 254 */ | |
290 "Unknown", /* 255 */ | |
291 }; | |
292 | |
26029 | 293 #endif /* MPLAYER_GENRES_H */ |