diff options
author | Martin Storsjö <martin@martin.st> | 2013-09-09 16:04:57 +0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-09-18 00:30:31 +0400 |
commit | e7bf085b78586a04b918f4e76587779d04674700 (patch) | |
tree | b100ea00cb70609d310df790ae53435687181256 /libavformat/movenc.h | |
parent | a4adabb460ace39783d707a5b3bbe28b4b5b9dc4 (diff) |
movenc: Add an option for omitting the tfhd base offset
This makes the output fragments independent of their position in
the output stream, making the output work better when streamed.
QuickTime Player doesn't support fragmented mp4 without the base
data offset, though.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r-- | libavformat/movenc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h index bcb87e18e7..fefb20b249 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -168,6 +168,7 @@ typedef struct MOVMuxContext { #define FF_MOV_FLAG_FRAG_CUSTOM 32 #define FF_MOV_FLAG_ISML 64 #define FF_MOV_FLAG_FASTSTART 128 +#define FF_MOV_FLAG_OMIT_TFHD_OFFSET 256 int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt); |