[FFmpeg-devel] [PATCH] nut metadata conversion table

Michael Niedermayer michaelni
Tue Feb 16 23:11:35 CET 2010


On Tue, Feb 16, 2010 at 09:38:33PM +0100, Anton Khirnov wrote:
> On Mon, Feb 15, 2010 at 11:59:42PM +0100, Michael Niedermayer wrote:
> > 
> > The "X-" prefix is not meant in the form of
> > if user provided tag doesnt use a key from the standard list 
> > prefix by "X-"
> > that would be majorly pointless
> > 
> > The idea was definitly in the form of
> > That elements that are not prefixed by X- must conform to the spec
> > in that sense the author of "lord of the rings" is tolkien not some
> > actor of the movie. and the time and language must conform to the
> > specs not be in some arbitrary form
> > "X-" is free form, where you can store anything
> > "" must be strictly conforming
> > 
> ok, got it. until there's some code that will do checking/conversion
> i've added the tags that require a strict form to the conv table with an
> X- prefix. i plan to extend AVMetadataConv to allow for such advanced
> conversions soon.
> 
> > 
> > 
> > elaborate
> > 
> it seems i've misread the specs and assumed that 64-byte limit on
> disposition applies to all tags. fixed
> 
> Anton Khirnov

>  nut.c    |   13 +++++++++++++
>  nut.h    |    3 +++
>  nutdec.c |    1 +
>  nutenc.c |   14 ++++----------
>  4 files changed, 21 insertions(+), 10 deletions(-)
> 76182aa7b5e983bd2e351fb8e3fa1568ce687356  0001-Add-NUT-metadata-conv-table.patch
> From 268fc5e16f00f3ef98061e6f867a5326e3d06c71 Mon Sep 17 00:00:00 2001
> From: Anton Khirnov <wyskas at gmail.com>
> Date: Fri, 5 Feb 2010 19:53:10 +0100
> Subject: [PATCH] Add NUT metadata conv table.
> 
> ---
>  libavformat/nut.c    |   13 +++++++++++++
>  libavformat/nut.h    |    3 +++
>  libavformat/nutdec.c |    1 +
>  libavformat/nutenc.c |   14 ++++----------
>  4 files changed, 21 insertions(+), 10 deletions(-)

ok if tested

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

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- 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/20100216/5eef0a6b/attachment.pgp>



More information about the ffmpeg-devel mailing list