summaryrefslogtreecommitdiff
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorJohn Stebbins <jstebbins@jetheaddev.com>2017-11-19 12:46:30 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2017-12-02 19:14:34 +0100
commit00d454ed2ca3f8b4d454a837e95931afe604c53f (patch)
tree3582aa4f8357569685c5ae0443f30f6481daf112 /libavformat/movenc.h
parent09494d098405738a5972e0052110af65b3ff7e72 (diff)
lavf/movenc: add sdtp (sample dependency) box
The sdtp is required by the AppleTV 4K in order to play 2160p60 video. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r--libavformat/movenc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h
index cc2a155d79..c4e966b7fb 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -53,6 +53,7 @@ typedef struct MOVIentry {
int cts;
#define MOV_SYNC_SAMPLE 0x0001
#define MOV_PARTIAL_SYNC_SAMPLE 0x0002
+#define MOV_DISPOSABLE_SAMPLE 0x0004
uint32_t flags;
} MOVIentry;
@@ -89,6 +90,7 @@ typedef struct MOVTrack {
long sample_size;
long chunkCount;
int has_keyframes;
+ int has_disposable;
#define MOV_TRACK_CTTS 0x0001
#define MOV_TRACK_STPS 0x0002
#define MOV_TRACK_ENABLED 0x0004