]> git.sesse.net Git - ffmpeg/commit
movenc: Add a new flag for writing global sidx indexes for dash
authorMartin Storsjö <martin@martin.st>
Sun, 9 Aug 2015 20:11:55 +0000 (23:11 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 12 Aug 2015 10:41:46 +0000 (13:41 +0300)
commit26ac22e5e7394346e9d59f800e7d4e91f4518d33
tree7420e3adb4f932bc801cab28b049531028555152
parentab43beefab9147673e09679e04be08431684a5db
movenc: Add a new flag for writing global sidx indexes for dash

The double meaning of the faststart flag (moving a moov atom
to the start of files, making them streamable, for non-fragmented
files, vs inserting a global sidx index at the start of files
for fragmented files) is confusing - see 40ed1cbf1 for
explanation of its origins.

Since the second meaning of the flag hasn't been part of any
libav release yet, just rename it to get rid of the confusion
without any extra deprecation (which wouldn't get rid of the
potential confusion, of users adding -movflags faststart
even for fragmented files, where it isn't needed for making
them "streamable").

This gets back the old behaviour, where -movflags faststart
doesn't have any effect for fragmented files.

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