summaryrefslogtreecommitdiff
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorvectronic <hello.vectronic@gmail.com>2019-09-23 21:43:06 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2020-03-10 15:11:47 +0000
commitdc1c3c640d245bc3e7a7a4c82ae1a6d06343abab (patch)
treee84e36f659f6c54073bcd5a678bfc0911d7fe3f0 /libavformat/movenc.h
parent99e34098730c5e222f782a6a3ed3bbc7b276950b (diff)
avformat/movenc: add ICC profile support to colr atom
If 'write_colr' movflag is set, then movflag 'prefer_icc' can be used to first look for an AV_PKT_DATA_ICC_PROFILE entry to encode. If ICC profile doesn't exist, default behaviour enabled by 'write_colr' occurs. Signed-off-by: vectronic <hello.vectronic@gmail.com>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r--libavformat/movenc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h
index 6ac106c653..997b2d61c0 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -260,6 +260,7 @@ typedef struct MOVMuxContext {
#define FF_MOV_FLAG_FRAG_EVERY_FRAME (1 << 20)
#define FF_MOV_FLAG_SKIP_SIDX (1 << 21)
#define FF_MOV_FLAG_CMAF (1 << 22)
+#define FF_MOV_FLAG_PREFER_ICC (1 << 23)
int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt);