On Sat, Jun 17, 2017 at 12:18:27AM +0200, Marton Balint wrote: > > On Sun, 4 Jun 2017, Marton Balint wrote: > > >It is a huge performance improvement for encoding files with small packets > >(e.g. wav) over SMB/CIFS. > > > > Ping? Maybe enabling this unconditionally is also problematic for > protocols other than file? If that so, then how about making > flush_packet a tri state with -1 (auto) as default, and then similar > to how max_packet_size is handled define something in URLContext to > be able to set the flush preference on a protocol basis?
i think auto is a good idea. maybe there also could be a min_flush_bytes/duration that would cause flush to be ommited if the last automatic flush was too short ago byte or timestamp wise [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Those who are too smart to engage in politics are punished by being governed by those who are dumber. -- Plato
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel