[FFmpeg-devel] [PATCH] avformat/flacdec: support fast-seek

Ching-Yi Chan chingyichan.tw at gmail.com
Fri Oct 2 09:57:40 CEST 2015


2015-10-01 20:31 GMT+08:00 Michael Niedermayer <michaelni at gmx.at>:

> On Fri, Sep 25, 2015 at 11:58:31AM +0800, Ching-Yi Chan wrote:
> > Thanks for checking.
> >
> > I also check the AVFMT_FLAG_FAST_SEEK flag with parsing headers,
> > to fill the seektable into index entries only if AVFMT_FLAG_FAST_SEEK
> flag
> > is on.
> >
> > If the AVFMT_FLAG_FAST_SEEK flag is not enabled, it will seek in original
> > way.
>
> i think we misunderstand us somehow
>
> your code does not work for me
> seeking to  1.894167 results in a seek to
> pts: 0.000000 pos:   8256
>
> seeking to  1.470835 results in a seek to
> pts: 0.809796 pos:  27366
>
> you notice that moving the target to a later point moves the result
> to a earlier one.
>
>
oops !
May I have a copy about the tests code. for improving my patch.


More information about the ffmpeg-devel mailing list