I do it with AVFMT_FLAG_FAST_SEEK flag.

2015-09-24 23:47 GMT+08:00 wm4 <nfx...@googlemail.com>:

> On Thu, 24 Sep 2015 23:41:03 +0800
> Ching-Yi Chan <chingyichan...@gmail.com> wrote:
>
> > Is it acceptable to provide an option for different methods
> > between accuracy seek and fast but inaccurate.
> >
> > For example, mp3dec having "usetoc" option to seek by toc.
>
> You could use the AVFMT_FLAG_FAST_SEEK flag. (It's a flag set on the
> format context.)
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

Attachment: 0001-avformat-flacdec-support-fast-seek.patch
Description: Binary data

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

Reply via email to