[FFmpeg-cvslog] avformat: Report the duration analysis reached

Luca Barbato git at videolan.org
Wed Mar 12 02:19:33 CET 2014


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Tue Mar 11 13:41:18 2014 +0100| [db9d39b4b5e5a3c20aeecf787ddeadd88f4906cf] | committer: Luca Barbato

avformat: Report the duration analysis reached

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=db9d39b4b5e5a3c20aeecf787ddeadd88f4906cf
---

 libavformat/utils.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index fca588b..3f400e3 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2395,7 +2395,8 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
             /* check max_analyze_duration */
             if (av_rescale_q(pkt->dts - st->info->fps_first_dts, st->time_base,
                              AV_TIME_BASE_Q) >= ic->max_analyze_duration) {
-                av_log(ic, AV_LOG_WARNING, "max_analyze_duration reached\n");
+                av_log(ic, AV_LOG_WARNING, "max_analyze_duration %d reached\n",
+                       ic->max_analyze_duration);
                 break;
             }
         }



More information about the ffmpeg-cvslog mailing list