Unified · Split
| @@ -2522,6 +2522,12 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options) · 2521 unmodified lines | ||
| 2522 | 2522 | if (read_size >= ic->probesize) { |
| 2523 | 2523 | ret = count; |
| 2524 | 2524 | av_log(ic, AV_LOG_DEBUG, "Probe buffer size limit %d reached\n", ic->probesize); |
| 2525 | + for (i = 0; i < ic->nb_streams; i++) | |
| 2526 | + if (!ic->streams[i]->r_frame_rate.num && | |
| 2527 | + ic->streams[i]->info->duration_count <= 1) | |
| 2528 | + av_log(ic, AV_LOG_WARNING, | |
| 2529 | + "Stream #%d: not enough frames to estimate rate; " | |
| 2530 | + "consider increasing probesize\n", i); | |
| 2525 | 2531 | break; |
| 2526 | 2532 | } |
| 2527 | 2533 | |