[FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

Steven Liu lingjiujianke at gmail.com
Thu Jul 21 02:29:34 EEST 2016


2016-07-21 5:03 GMT+08:00 Moritz Barsnick <barsnick at gmx.net>:

> On Thu, Jul 21, 2016 at 00:06:44 +0800, zhangxinzheng wrote:
>
> > Subject: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before
> video or audio stream was created
>                                            ^^^ flv
>
> > There has an error when seeking in a flv file, which key frames was
> > sorted before video frame.
> > This ensures that all the key frames was cached, and add to
> > corresponding stream when it was created.
>
> Thanks to the grammar, I don't understand the intent of the patch.
> (Don't get me wrong, I'm not scorning your English, but it needs to be
> improved.)
>
Hi Moritz,
Perhaps he want to create a keyframe index for flv file, to seek flv
keyframe.



> >  #define RESYNC_BUFFER_SIZE (1<<20)
> >
> > +
> > +typedef struct FLVKeyFrame {
>
> Why the extra newline?


Hi Zhang Xinzheng ,

    You should check the patch use the tool at ./tools/patcheck .
     Please reading
http://ffmpeg.org/developer.html#toc-Submitting-patches-1 .


More information about the ffmpeg-devel mailing list