[FFmpeg-devel] [PATCH] cache: read_buf_size

Robert Nagy ronag89 at gmail.com
Sat Sep 22 20:30:01 EEST 2018


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 <michael at niedermayer.cc>
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
> > 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/libavformat/cache.c
> >
> > index 66bbbf54c9..d2fd467032 100644
> >
> > --- a/libavformat/cache.c
> >
> > +++ b/libavformat/cache.c
> >
> > @@ -63,6 +63,8 @@ typedef struct Context {
>
> this patch has
>
> some strange
>
> extra
>
> newlines
>
> in it
>
> and doesnt apply automatically
>
>
>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> I am the wisest man alive, for I know one thing, and that is that I know
> nothing. -- Socrates
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list