[FFmpeg-devel] [PATCH] avformat/flvdec: add debug message to list keyframes index metadata

Steven Liu lingjiujianke at gmail.com
Fri Nov 4 13:56:06 EET 2016


2016-11-04 19:26 GMT+08:00 Michael Niedermayer <michael at niedermayer.cc>:

> On Fri, Nov 04, 2016 at 04:08:14PM +0800, Steven Liu wrote:
> > when parsing keyframe index metadata, list the message by debug log
> >
> > Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> > ---
> >  libavformat/flvdec.c |    2 ++
> >  1 files changed, 2 insertions(+), 0 deletions(-)
> >
> > diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
> > index e53c345..e2a4669 100644
> > --- a/libavformat/flvdec.c
> > +++ b/libavformat/flvdec.c
> > @@ -114,6 +114,8 @@ static void add_keyframes_index(AVFormatContext *s)
> >
> >      if (stream->nb_index_entries == 0) {
> >          for (i = 0; i < flv->keyframe_count; i++) {
> > +            av_log(s, AV_LOG_DEBUG, "keyframe filepositions = %"PRId64"
> times = %"PRId64"\n",
> > +                   flv->keyframe_filepositions[i],
> flv->keyframe_times[i] * 1000);
>
> i think this should be AV_LOG_TRACE
>
ok, update soon

>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Democracy is the form of government in which you can choose your dictator
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>


More information about the ffmpeg-devel mailing list