movenc: Honor flush requests with delay_moov, when some tracks lack samples
authorMartin Storsjö <martin@martin.st>
Tue, 20 Oct 2015 19:30:03 +0000 (22:30 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 23 Oct 2015 07:37:49 +0000 (10:37 +0300)
commit5ea5a24eb70646a9061b85af407fcbb5dd4f89fd
tree8339ea84e06da8cb72a8636b731c2c0292035b5f
parente02dcdf6bb6835ef4b49986b85a67efcb3495a7f
movenc: Honor flush requests with delay_moov, when some tracks lack samples

This also makes sure that a fragmented file without the empty_moov
flag (i.e. with a non-empty initial moov fragment) actually gets
written, if some of the tracks turn out to not have any samples.

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