summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.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 /libavcodec/avcodec.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 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 0972df0bde..5db6a81320 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1444,6 +1444,12 @@ typedef struct AVPacket {
* outside the packet may be followed.
*/
#define AV_PKT_FLAG_TRUSTED 0x0008
+/**
+ * Flag is used to indicate packets that contain frames that can
+ * be discarded by the decoder. I.e. Non-reference frames.
+ */
+#define AV_PKT_FLAG_DISPOSABLE 0x0010
+
enum AVSideDataParamChangeFlags {
AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_COUNT = 0x0001,