diff options
author | John Stebbins <jstebbins@jetheaddev.com> | 2018-08-27 12:57:07 -0700 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-09-08 19:08:34 -0300 |
commit | c9a992d931440f87882771532b7178477c5b0ebe (patch) | |
tree | 283c4453ebb3c37031f07443a6f2b1e843b8af82 /libavformat/isom.c | |
parent | 6e15495bcb2004e4e648160b22383ef72cc0e14c (diff) | |
download | ffmpeg-c9a992d931440f87882771532b7178477c5b0ebe.tar.gz |
lavf/mov: add AVCodecTag entry for GoPro metadata
This allows for validation of the track type
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/isom.c')
-rw-r--r-- | libavformat/isom.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/isom.c b/libavformat/isom.c index ce66d1bcd4..ca9d22e4f7 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -374,6 +374,11 @@ const AVCodecTag ff_codec_movsubtitle_tags[] = { { AV_CODEC_ID_NONE, 0 }, }; +const AVCodecTag ff_codec_movdata_tags[] = { + { AV_CODEC_ID_BIN_DATA, MKTAG('g', 'p', 'm', 'd') }, + { AV_CODEC_ID_NONE, 0 }, +}; + /* map numeric codes from mdhd atom to ISO 639 */ /* cf. QTFileFormat.pdf p253, qtff.pdf p205 */ /* http://developer.apple.com/documentation/mac/Text/Text-368.html */ |