Commit 9b554a69 authored by Steinar H. Gunderson's avatar Steinar H. Gunderson Committed by Jean-Baptiste Kempf

Increase the avformat mux buffer size to 10 MB.

The previous value, 32 kB, causes formats like WebM to overflow
and split the blocks, which has negative consequences for streaming.
We're unlikely to have a memory crunch in this area, so increase it
to something generous.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9a0efe5e
......@@ -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 * 1024 * 1024; /* FIXME */
p_sys->io_buffer = malloc( p_sys->io_buffer_size );
bool b_can_seek;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment