aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/isom.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-04-22 00:03:21 -0300
committerJames Almer <jamrial@gmail.com>2017-05-27 16:09:55 -0300
commitab05bd6e6cae0a0a20cd2bc591ac2d9eb8afbf17 (patch)
tree448d877fc23e99fe7fc38f0490801468624f70d8 /libavformat/isom.h
parentac8dfcbd89a818b786d05ebc1af70f7bf6aeb86e (diff)
downloadffmpeg-ab05bd6e6cae0a0a20cd2bc591ac2d9eb8afbf17.tar.gz
avformat/mov: add support for reading Mastering Display Metadata Box
As defined in "VP Codec ISO Media File Format Binding v1.0" https://github.com/webmproject/vp9-dash/blob/master/VPCodecISOMediaFileFormatBinding.md Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r--libavformat/isom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h
index d9956cf63a..426f732247 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -27,6 +27,7 @@
#include <stddef.h>
#include <stdint.h>
+#include "libavutil/mastering_display_metadata.h"
#include "libavutil/spherical.h"
#include "libavutil/stereo3d.h"
@@ -194,6 +195,7 @@ typedef struct MOVStreamContext {
AVStereo3D *stereo3d;
AVSphericalMapping *spherical;
size_t spherical_size;
+ AVMasteringDisplayMetadata *mastering;
uint32_t format;