[FFmpeg-devel] [PATCH] Read the album_artist, grouping and lyrics metadata.
Baptiste Coudurier
baptiste at ffmpeg.org
Sat Apr 30 03:43:48 CEST 2011
On 04/24/2011 08:03 AM, Reimar Döffinger wrote:
> Our muxer writes these out, so we really should support reading them.
> Fixes ticket #30.
> ---
> libavformat/mov.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/libavformat/mov.c b/libavformat/mov.c
> index 4d334c1..e8cfa12 100644
> --- a/libavformat/mov.c
> +++ b/libavformat/mov.c
> @@ -144,9 +144,12 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom)
> case MKTAG(0xa9,'n','a','m'): key = "title"; break;
> case MKTAG(0xa9,'a','u','t'):
> case MKTAG(0xa9,'A','R','T'): key = "artist"; break;
> + case MKTAG( 'a','A','R','T'): key = "album_artist";break;
> case MKTAG(0xa9,'w','r','t'): key = "composer"; break;
> case MKTAG( 'c','p','r','t'):
> case MKTAG(0xa9,'c','p','y'): key = "copyright"; break;
> + case MKTAG(0xa9,'g','r','p'): key = "grouping"; break;
> + case MKTAG(0xa9,'l','y','r'): key = "lyrics"; break;
> case MKTAG(0xa9,'c','m','t'):
> case MKTAG(0xa9,'i','n','f'): key = "comment"; break;
> case MKTAG(0xa9,'a','l','b'): key = "album"; break;
Yes, looks good.
--
Baptiste COUDURIER
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org
More information about the ffmpeg-devel
mailing list