mirror of https://github.com/FFmpeg/FFmpeg.git
Converting explicit avio_flush() calls helps us to buffer more data and avoid flushing the IO context too often which causes reduced IO throughput for non-streamed file output. The user can control FLUSH_POINT flushing behaviour using the -flush_packets option, the default typically means to flush unless a non-streamed file output is used, so this change should have no adverse effect on streaming even if it is assumed that after an avio_flush() the output buffer is clean so small seekbacks within the output buffer will work even when the IO context is not seekable. Signed-off-by: Marton Balint <cus@passwd.hu>pull/331/head
parent
f4a8ea7ff6
commit
3414115cd4
6 changed files with 11 additions and 10 deletions
Loading…
Reference in new issue