-rw-r--r-- | libavcodec/avcodec.h | 4 | ||||
-rw-r--r-- | libavcodec/h264.h | 1 | ||||
-rw-r--r-- | libavcodec/h264_parser.c | 7 | ||||
-rw-r--r-- | libavcodec/h264dec.h | 1 | ||||
-rw-r--r-- | libavcodec/hevc.h | 1 | ||||
-rw-r--r-- | libavcodec/hevc_parser.c | 8 | ||||
-rw-r--r-- | libavformat/isom.c | 2 | ||||
-rw-r--r-- | libavformat/mpegts.c | 2 |
8 files changed, 26 insertions, 0 deletions
diff --git a/libavcodec/hevc_parser.c b/libavcodec/hevc_parser.c index 310428d..3e10ee4 100644 --- a/libavcodec/hevc_parser.c +++ b/libavcodec/hevc_parser.c @@ -267,6 +267,14 @@ static inline int parse_nal_units(AVCodecParserContext *s, const uint8_t *buf, case HEVC_NAL_SEI_SUFFIX: ff_hevc_decode_nal_sei(h); break; + case HEVC_NAL_SEI_DV_META: + /* + sample dolbyvision nal header: + 00 00 01 8C 7C 01 19 08 + nal_type =(0x7C >> 1) 0x3f; + */ + avctx->has_dolby_vision_meta = 1; + break; case HEVC_NAL_TRAIL_N: case HEVC_NAL_TRAIL_R: case HEVC_NAL_TSA_N: |