avformat: Report the duration analysis reached

This commit is contained in:
Luca Barbato 2014-03-11 13:41:18 +01:00
parent 908836e207
commit db9d39b4b5
1 changed files with 2 additions and 1 deletions

View 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;
}
}