]> git.sesse.net Git - ffmpeg/commit
avformat: make flush_packets a tri-state and set it to -1 (auto) by default
authorMarton Balint <cus@passwd.hu>
Sun, 4 Jun 2017 02:19:33 +0000 (04:19 +0200)
committerMarton Balint <cus@passwd.hu>
Sat, 24 Jun 2017 16:51:29 +0000 (18:51 +0200)
commiteeeb595c7f1c78764a1a670b763fa837ab3db2bd
treea2788049373b1f35e9b102acf9fdd88bc5eb1eed
parent09891c53916224abfb07c91064654189c46d034c
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>
doc/formats.texi
libavformat/mux.c
libavformat/options_table.h