[vlc-devel] [PATCH 2/4] Increase the avformat mux buffer size to 10 MB.
Rémi Denis-Courmont
remi at remlab.net
Thu Aug 15 15:45:12 CEST 2013
On Thu, 15 Aug 2013 16:42:56 +0300, Georgi Chorbadzhiyski <gf at unixsol.org>
wrote:
>> diff --git a/modules/demux/avformat/mux.c
b/modules/demux/avformat/mux.c
>> index 90e17dc..f8208a6 100644
>> --- a/modules/demux/avformat/mux.c
>> +++ b/modules/demux/avformat/mux.c
>> @@ -115,7 +115,7 @@ int OpenMux( vlc_object_t *p_this )
>> strcpy( p_sys->oc->filename, p_mux->p_access->psz_path );
>>
>> /* Create I/O wrapper */
>> - p_sys->io_buffer_size = 32768; /* FIXME */
>> + p_sys->io_buffer_size = 10 << 20; /* FIXME */
>
> Nit, IMHO 10 * (1024 ^ 2) is more readable than 10 << 20.
It might be more readable, but 10260 bytes is not the same as 10 MiB.
--
Rémi Denis-Courmont
Sent from my collocated server
More information about the vlc-devel
mailing list