movenc: Allow interleaving samples when writing fragmented files
authorMartin Storsjö <martin@martin.st>
Tue, 10 Sep 2013 12:35:41 +0000 (15:35 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 16 Mar 2015 11:23:19 +0000 (13:23 +0200)
commit2cb9c2fc59c9267ad2631c07c81c188058502259
tree2912430e30e9576c9ecfbefec1512fb995e2b403
parent50ff0c05b691524d1fd044a2f2eefb706932fc98
movenc: Allow interleaving samples when writing fragmented files

This is incompatible with the omit_tfhd_offset flag (writing
position independent fragments with interleaving requires the
default_base_moof flag).

This makes the moof atoms slightly bigger, but can be better for
playback (improving locality of sample data in the mdat).

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/movenc.c
libavformat/movenc.h