summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--libavcodec/avcodec.h4
-rw-r--r--libavcodec/h264.h1
-rw-r--r--libavcodec/h264_parser.c7
-rw-r--r--libavcodec/h264dec.h1
-rw-r--r--libavcodec/hevc.h1
-rw-r--r--libavcodec/hevc_parser.c8
-rw-r--r--libavformat/isom.c2
-rw-r--r--libavformat/mpegts.c2
8 files changed, 26 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 14d7aa1..3d88f95 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3636,6 +3636,7 @@ typedef struct AVCodecContext {
* AVCodecContext.get_format callback)
*/
int hwaccel_flags;
+ int has_dolby_vision_meta;
} AVCodecContext;
AVRational av_codec_get_pkt_timebase (const AVCodecContext *avctx);
@@ -5104,6 +5105,9 @@ typedef struct AVCodecParserContext {
#define PARSER_FLAG_FETCHED_OFFSET 0x0004
#define PARSER_FLAG_USE_CODEC_TS 0x1000
+ /*for dolby vision flag*/
+#define PARSER_FLAG_HAS_DV_META 0x0008
+
int64_t offset; ///< byte offset from starting packet start
int64_t cur_frame_end[AV_PARSER_PTS_NB];