[FFmpeg-devel] [PATCH] mention that metadata tags are UTF-8

Michael Niedermayer michaelni
Mon Feb 22 23:53:39 CET 2010


On Mon, Feb 22, 2010 at 11:24:01PM +0100, Anton Khirnov wrote:
> On Mon, Feb 22, 2010 at 08:29:52PM +0100, Reimar D?ffinger wrote:
> > On Sun, Feb 21, 2010 at 10:25:59PM +0100, Anton Khirnov wrote:
> > > On Sun, Feb 21, 2010 at 09:22:39AM +0100, Reimar D?ffinger wrote:
> > >  /*
> > >   * Public Metadata API.
> > >   * The metadata API allows libavformat to export metadata tags to a client
> > > - * application using a sequence of key/value pairs.
> > > + * application using a sequence of key/value pairs. Like all strings in FFmpeg,
> > > + * metadata should be stored as UTF-8 encoded Unicode.
> > 
> > s/should/must/
> > And it should probably mention that FFmpeg does not validate or normalize UTF-8
> > it stores when demuxing.
> done
> 
> Anton Khirnov

>  avformat.h |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 5b2066f6f80a09b998d524ec00fce3a38730347b  0001-metadata-API-mention-that-keys-values-are-UTF-8.patch
> From 01b39be0448ae0115fdfa770b8b24afd1bde5aab Mon Sep 17 00:00:00 2001
> From: Anton Khirnov <wyskas at gmail.com>
> Date: Sun, 21 Feb 2010 08:30:36 +0100
> Subject: [PATCH] metadata API: mention that keys/values are UTF-8

iam ok with this once all others are

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100222/c448cc7c/attachment.pgp>



More information about the ffmpeg-devel mailing list