diff options
author | Marton Balint <cus@passwd.hu> | 2017-06-04 04:19:33 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2017-06-24 18:51:29 +0200 |
commit | eeeb595c7f1c78764a1a670b763fa837ab3db2bd (patch) | |
tree | a2788049373b1f35e9b102acf9fdd88bc5eb1eed /doc/formats.texi | |
parent | 09891c53916224abfb07c91064654189c46d034c (diff) | |
download | ffmpeg-eeeb595c7f1c78764a1a670b763fa837ab3db2bd.tar.gz |
avformat: make flush_packets a tri-state and set it to -1 (auto) by default
If flushing is not disabled, then mux.c will signal the end of the packets with
an AVIO_DATA_MARKER_FLUSH_POINT, and aviobuf will be able to decide to flush or
not based on the preferred minimum packet size set by the used protocol.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'doc/formats.texi')
-rw-r--r-- | doc/formats.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/formats.texi b/doc/formats.texi index c51d4086db..ddd7743548 100644 --- a/doc/formats.texi +++ b/doc/formats.texi @@ -182,9 +182,10 @@ Default is 0. Correct single timestamp overflows if set to 1. Default is 1. @item flush_packets @var{integer} (@emph{output}) -Flush the underlying I/O stream after each packet. Default 1 enables it, and -has the effect of reducing the latency; 0 disables it and may slightly -increase performance in some cases. +Flush the underlying I/O stream after each packet. Default is -1 (auto), which +means that the underlying protocol will decide, 1 enables it, and has the +effect of reducing the latency, 0 disables it and may increase IO throughput in +some cases. @item output_ts_offset @var{offset} (@emph{output}) Set the output time offset. |