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
, size_t i_data
,
33 int i_attachments
, int *i_cover_score
, int *i_cover_idx
);
35 void vorbis_ParseComment( es_format_t
*p_fmt
, vlc_meta_t
**pp_meta
,
36 const uint8_t *p_data
, size_t 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
,
40 float (* ppf_replay_gain
)[AUDIO_REPLAY_GAIN_MAX
],
41 float (* ppf_replay_peak
)[AUDIO_REPLAY_GAIN_MAX
] );
46 } Katei18nCategories
[] = {
47 /* From Silvia's Mozilla list */
48 { "CC", N_("Closed captions") },
49 { "SUB", N_("Subtitles") },
50 { "TAD", N_("Textual audio descriptions") },
51 { "KTV", N_("Karaoke") },
52 { "TIK", N_("Ticker text") },
53 { "AR", N_("Active regions") },
54 { "NB", N_("Semantic annotations") },
55 { "META", N_("Metadata") },
56 { "TRX", N_("Transcript") },
57 { "LRC", N_("Lyrics") },
58 { "LIN", N_("Linguistic markup") },
59 { "CUE", N_("Cue points") },
62 { "subtitles", N_("Subtitles") },
63 { "spu-subtitles", N_("Subtitles (images)") },
64 { "lyrics", N_("Lyrics") },
67 { "K-SPU", N_("Subtitles (images)") },
68 { "K-SLD-T", N_("Slides (text)") },
69 { "K-SLD-I", N_("Slides (images)") },
72 const char *FindKateCategoryName( const char *psz_tag
);