1 /*****************************************************************************
2 * xiph_metadata.h: Vorbis Comment parser
3 *****************************************************************************
4 * Copyright © 2008-2013 VLC authors and VideoLAN
7 * Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
8 * Jean-Baptiste Kempf <jb@videolan.org>
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU Lesser General Public License as published by
12 * the Free Software Foundation; either version 2.1 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with this program; if not, write to the Free Software Foundation,
22 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23 *****************************************************************************/
25 #include <vlc_charset.h>
26 #include <vlc_strings.h>
32 input_attachment_t* ParseFlacPicture( const uint8_t *p_data, int i_data,
33 int i_attachments, int *i_cover_score, int *i_cover_idx );
35 void vorbis_ParseComment( vlc_meta_t **pp_meta,
36 const uint8_t *p_data, int i_data,
37 int *i_attachments, input_attachment_t ***attachments,
38 int *i_cover_score, int *i_cover_idx,
39 int *i_seekpoint, seekpoint_t ***ppp_seekpoint );
44 } Katei18nCategories[] = {
45 /* From Silvia's Mozilla list */
46 { "CC", N_("Closed captions") },
47 { "SUB", N_("Subtitles") },
48 { "TAD", N_("Textual audio descriptions") },
49 { "KTV", N_("Karaoke") },
50 { "TIK", N_("Ticker text") },
51 { "AR", N_("Active regions") },
52 { "NB", N_("Semantic annotations") },
53 { "META", N_("Metadata") },
54 { "TRX", N_("Transcript") },
55 { "LRC", N_("Lyrics") },
56 { "LIN", N_("Linguistic markup") },
57 { "CUE", N_("Cue points") },
60 { "subtitles", N_("Subtitles") },
61 { "spu-subtitles", N_("Subtitles (images)") },
62 { "lyrics", N_("Lyrics") },
65 { "K-SPU", N_("Subtitles (images)") },
66 { "K-SLD-T", N_("Slides (text)") },
67 { "K-SLD-I", N_("Slides (images)") },
70 const char *FindKateCategoryName( const char *psz_tag );