[FFmpeg-devel] [PATCH 2/2] id3v2: add TDTG<->creation_time tag mapping

Aurelien Jacobs aurel
Mon Nov 22 23:18:58 CET 2010


On Mon, Nov 22, 2010 at 08:22:35AM +0100, Anton Khirnov wrote:
> ---
>  libavformat/id3v2.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
> index cc3697a..b730265 100644
> --- a/libavformat/id3v2.c
> +++ b/libavformat/id3v2.c
> @@ -277,6 +277,7 @@ const AVMetadataConv ff_id3v2_metadata_conv[] = {
>      { "TCOP", "copyright"},
>      { "TDRL", "date"},
>      { "TDRC", "date"},
> +    { "TDTG", "creation_time"},
>      { "TENC", "encoded_by"},
>      { "TEN",  "encoded_by"},
>      { "TIT2", "title"},

I'm not really sure in practice how those tags are used but I wonder
if creation_time wouldn't map better to TDRC or TDEN than to TDGT...

Except that, the patch looks obviously OK.

Aurel



More information about the ffmpeg-devel mailing list