summaryrefslogtreecommitdiff
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2014-10-05 23:51:47 +0300
committerMartin Storsjö <martin@martin.st>2014-11-17 16:16:46 +0200
commit2ded57371abead879bcee56da5131e5fac0d17ef (patch)
tree98b74cd919aca09761035d812d0aeeefbf054105 /libavformat/movenc.h
parent2d9d6afb8d2f284f5e620ecc19f643d5cd3facb8 (diff)
downloadffmpeg-2ded57371abead879bcee56da5131e5fac0d17ef.tar.gz
movenc: Add support for writing sidx atoms for DASH segments
A flag "dash" is added, which enables the necessary flags for creating DASH compatible fragments. When this is enabled, one sidx atom is written for each track before every moof atom. 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 1df5a5cb96..2a40b2fb61 100644
--- a/libavformat/movenc.h
+++ b/libavformat/movenc.h
@@ -180,6 +180,7 @@ typedef struct MOVMuxContext {
#define FF_MOV_FLAG_OMIT_TFHD_OFFSET (1 << 8)
#define FF_MOV_FLAG_DISABLE_CHPL (1 << 9)
#define FF_MOV_FLAG_DEFAULT_BASE_MOOF (1 << 10)
+#define FF_MOV_FLAG_DASH (1 << 11)
int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt);