commit | 6a6207b52a86b1d7980a5233e297c0fc948bed7d | [log] [tgz] |
---|---|---|
author | Erik de Castro Lopo <erikd@mega-nerd.com> | Wed Sep 24 06:35:14 2014 +1000 |
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | Wed Sep 24 06:35:17 2014 +1000 |
tree | bde1e79b06fa96f607de03775a5f716bb8c61d08 | |
parent | 142cc51cc71fb8f47a5f1cda9c0feae6d2226c3f [diff] |
stream_encoder.c : Give the encoder a larger stdio buffer. Windows in particular can experience slow encoding speeds on highly fragmented disks. Using setvbuf to increase the size of the buffer to 10Meg. This is probably not needed on Linux/Unix, but is very unlikely to to cause any negative effects. Patch-from: Janne Hyvärinen <cse@sci.fi>