From cf589faa5b7aed3bb38e08dcd00bd951e69686d1 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Wed, 29 Oct 2014 11:53:21 +0200 Subject: movenc: Add a flag for using default-base-is-moof in tfhd atoms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Similarly to the omit_tfhd_offset flag added in e7bf085b, this avoids writing absolute byte positions to the file, making them more easily streamable. This is a new feature from 14496-12:2012, so application support isn't necessarily too widespread yet (support for it in libav was added in 20f95f21f in July 2014). Signed-off-by: Martin Storsjö --- libavformat/movenc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/movenc.h') diff --git a/libavformat/movenc.h b/libavformat/movenc.h index a463a8d527..56e26475cb 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -178,6 +178,7 @@ typedef struct MOVMuxContext { #define FF_MOV_FLAG_FASTSTART 128 #define FF_MOV_FLAG_OMIT_TFHD_OFFSET 256 #define FF_MOV_FLAG_DISABLE_CHPL 512 +#define FF_MOV_FLAG_DEFAULT_BASE_MOOF 1024 int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt); -- cgit v1.2.3