[FFmpeg-cvslog] mov: add support for hdvd and pgapmetadata atoms

Raivo Hool git at videolan.org
Sat Oct 22 01:26:51 CEST 2011


ffmpeg | branch: master | Raivo Hool <raivo.hool at gmail.com> | Fri Oct 21 16:04:15 2011 +0300| [b06df7075590b7954900a9ef5e2dd0e7e832544c] | committer: Anton Khirnov

mov: add support for hdvd and pgapmetadata atoms

Signed-off-by: Anton Khirnov <anton at khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b06df7075590b7954900a9ef5e2dd0e7e832544c
---

 libavformat/mov.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

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) {



More information about the ffmpeg-cvslog mailing list