From cb114ed464069ac83f05a4ebdfe992e8f1549815 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 12 Aug 2016 21:28:08 +0200 Subject: avformat/mux: implement AVFMT_FLAG_SHORTEST This will allow fixing several bugs with the -shortest option Signed-off-by: Michael Niedermayer --- doc/formats.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/formats.texi b/doc/formats.texi index f79ebe28ac..dda81e6f8d 100644 --- a/doc/formats.texi +++ b/doc/formats.texi @@ -61,6 +61,10 @@ Reduce the latency introduced by optional buffering Only write platform-, build- and time-independent data. This ensures that file and data checksums are reproducible and match between platforms. Its primary use is for regression testing. +@item shortest +Stop muxing at the end of the shortest stream. +It may be needed to increase max_interleave_delta to avoid flusing the longer +streams before EOF. @end table @item seek2any @var{integer} (@emph{input}) -- cgit v1.2.3