aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-09-09 15:04:57 +0300
committerMartin Storsjö <martin@martin.st>2013-09-17 23:30:31 +0300
commite7bf085b78586a04b918f4e76587779d04674700 (patch)
treeb100ea00cb70609d310df790ae53435687181256 /libavformat/movenc.h
parenta4adabb460ace39783d707a5b3bbe28b4b5b9dc4 (diff)
downloadffmpeg-e7bf085b78586a04b918f4e76587779d04674700.tar.gz
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.h1
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);