Mercurial > libavformat.hg
changeset 5716:0dcb8b662232 libavformat
asf: add more entries to metadata conv table.
Patch from Anton Khirnov wyskas gmail com
author | benoit |
---|---|
date | Thu, 25 Feb 2010 09:09:39 +0000 |
parents | ead2df871971 |
children | da72d7a76598 |
files | asf.c |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/asf.c Wed Feb 24 18:19:54 2010 +0000 +++ b/asf.c Thu Feb 25 09:09:39 2010 +0000 @@ -128,11 +128,23 @@ 0xfc, 0xb3, 0x11, 0x22, 0x23, 0xbd, 0xd2, 0x11, 0xb4, 0xb7, 0x00, 0xa0, 0xc9, 0x55, 0xfc, 0x6e }; +/* List of official tags at http://msdn.microsoft.com/en-us/library/dd743066(VS.85).aspx */ const AVMetadataConv ff_asf_metadata_conv[] = { { "WM/AlbumArtist", "album_artist"}, { "WM/AlbumTitle" , "album" }, { "Author" , "artist" }, + { "Description" , "comment" }, + { "WM/Composer" , "composer" }, + { "WM/EncodedBy" , "encoded_by" }, + { "WM/EncodingSettings", "encoder" }, + { "WM/Genre" , "genre" }, + { "WM/Language" , "language" }, + { "WM/OriginalFilename", "filename" }, + { "WM/PartOfSet" , "disc" }, + { "WM/Publisher" , "publisher" }, + { "WM/Tool" , "encoder" }, { "WM/TrackNumber", "track" }, + { "WM/Track" , "track" }, // { "Year" , "date" }, TODO: conversion year<->date { 0 } };