From b06df7075590b7954900a9ef5e2dd0e7e832544c Mon Sep 17 00:00:00 2001 From: Raivo Hool Date: Fri, 21 Oct 2011 16:04:15 +0300 Subject: [PATCH] mov: add support for hdvd and pgapmetadata atoms Signed-off-by: Anton Khirnov --- libavformat/mov.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 3a00b46..1747bd4 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -225,6 +225,10 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom) parse = mov_metadata_int8_bypass_padding; break; case MKTAG( 's','t','i','k'): key = "media_type"; parse = mov_metadata_int8_no_padding; break; + case MKTAG( 'h','d','v','d'): key = "hd_video"; + parse = mov_metadata_int8_no_padding; break; + case MKTAG( 'p','g','a','p'): key = "gapless_playback"; + parse = mov_metadata_int8_no_padding; break; } if (c->itunes_metadata && atom.size > 8) { -- 2.7.4