From 00d454ed2ca3f8b4d454a837e95931afe604c53f Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Sun, 19 Nov 2017 12:46:30 -0800 Subject: 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 --- libavformat/movenc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/movenc.h') 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 -- cgit v1.2.3