diff options
author | Neil Birkbeck <neil.birkbeck@gmail.com> | 2016-02-22 14:53:06 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-02-25 00:18:12 +0100 |
commit | ad17b9d2d47af5dfb7c380db9c5fc6d719dcf883 (patch) | |
tree | 95d388606a0ae459b78b398b93a602f3fc38f441 /libavcodec/avcodec.h | |
parent | 954f865c8ee291d7c4c83a03815711321e931ada (diff) | |
download | ffmpeg-ad17b9d2d47af5dfb7c380db9c5fc6d719dcf883.tar.gz |
libavcodec:add packet level support for mastering metadata
Some containers, like webm/mkv, will contain this mastering metadata.
This is analogous to the way 3D fpa data is handled (in frame and
packet side data).
Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index f4fe05618e..7a5689904d 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1408,6 +1408,13 @@ enum AVPacketSideDataType { * information from the demuxer to the corresponding muxer. */ AV_PKT_DATA_MPEGTS_STREAM_ID, + + /** + * Mastering display metadata (based on SMPTE-2086:2014). This metadata + * should be associated with a video stream and containts data in the form + * of the AVMasteringDisplayMetadata struct. + */ + AV_PKT_DATA_MASTERING_DISPLAY_METADATA }; #define AV_PKT_DATA_QUALITY_FACTOR AV_PKT_DATA_QUALITY_STATS //DEPRECATED |