From 1f70a5ad284b33e8b3e2b40a5cb33055419781b7 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Thu, 22 Aug 2013 07:25:17 -0700 Subject: mov: use tkhd enabled flag to set the default track Signed-off-by: Anton Khirnov --- libavformat/isom.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavformat/isom.h') diff --git a/libavformat/isom.h b/libavformat/isom.h index 932b1d0a68..94f1296a1d 100644 --- a/libavformat/isom.h +++ b/libavformat/isom.h @@ -190,6 +190,11 @@ void ff_mp4_parse_es_descr(AVIOContext *pb, int *es_id); #define MOV_FRAG_SAMPLE_FLAG_DEPENDS_NO 0x02000000 #define MOV_FRAG_SAMPLE_FLAG_DEPENDS_YES 0x01000000 +#define MOV_TKHD_FLAG_ENABLED 0x0001 +#define MOV_TKHD_FLAG_IN_MOVIE 0x0002 +#define MOV_TKHD_FLAG_IN_PREVIEW 0x0004 +#define MOV_TKHD_FLAG_IN_POSTER 0x0008 + int ff_mov_read_esds(AVFormatContext *fc, AVIOContext *pb, MOVAtom atom); enum AVCodecID ff_mov_get_lpcm_codec_id(int bps, int flags); -- cgit v1.2.3