Re: [FFmpeg-devel] [PATCH] cache: read_buf_size

2018-09-22 Thread Robert Nagy
Ignore this patch. I created a new one with a simpler and more appropriate implementation. On Sat, Sep 22, 2018 at 6:22 PM Michael Niedermayer wrote: > On Sat, Sep 22, 2018 at 12:16:10PM +0200, Robert Nagy wrote: > > This adds a `read_buf_size` option which can help avoid excessive seeking > > w

Re: [FFmpeg-devel] [PATCH] cache: read_buf_size

2018-09-22 Thread Michael Niedermayer
On Sat, Sep 22, 2018 at 12:16:10PM +0200, Robert Nagy wrote: > This adds a `read_buf_size` option which can help avoid excessive seeking > when a file has e.g. badly interleaved audio and video. > > > --- > > libavformat/cache.c | 69 + > > 1 file ch

[FFmpeg-devel] [PATCH] cache: read_buf_size

2018-09-22 Thread Robert Nagy
This adds a `read_buf_size` option which can help avoid excessive seeking when a file has e.g. badly interleaved audio and video. --- libavformat/cache.c | 69 + 1 file changed, 57 insertions(+), 12 deletions(-) diff --git a/libavformat/cache.c b/l