On Sun, Jun 04, 2017 at 03:35:07PM +0200, Marton Balint wrote:
> Another huge performance improvement when using SMB/CIFS as output.
> 
> Signed-off-by: Marton Balint <c...@passwd.hu>
> ---
>  libavformat/aviobuf.c     | 2 +-
>  tests/ref/seek/lavf-alaw  | 3 +--
>  tests/ref/seek/lavf-mulaw | 3 +--
>  3 files changed, 3 insertions(+), 5 deletions(-)
> 
> diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
> index 7d1b385253..36eb093a3a 100644
> --- a/libavformat/aviobuf.c
> +++ b/libavformat/aviobuf.c
> @@ -33,7 +33,7 @@
>  #include "url.h"
>  #include <stdarg.h>
>  
> -#define IO_BUFFER_SIZE 32768
> +#define IO_BUFFER_SIZE 131072
>  

this is changed for all protocols not just the ones tested.
also i remember some patch that changes te buffer size for some
protocols, not sure what happened to that.
and theres the short_seek stuff, it might make sense to adjust that
too

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to