avformat: Report the duration analysis reached
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 11 Mar 2014 12:41:18 +0000 (13:41 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 11 Mar 2014 20:55:11 +0000 (21:55 +0100)
libavformat/utils.c

index fca588b..3f400e3 100644 (file)
@@ -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;
             }
         }