Commit 9f4ab4e5 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Show stream number when warning about stream without start time.

parent 87f29996
...@@ -2451,7 +2451,7 @@ static void estimate_timings_from_pts(AVFormatContext *ic, int64_t old_offset) ...@@ -2451,7 +2451,7 @@ static void estimate_timings_from_pts(AVFormatContext *ic, int64_t old_offset)
st->first_dts == AV_NOPTS_VALUE && st->first_dts == AV_NOPTS_VALUE &&
st->codec->codec_type != AVMEDIA_TYPE_UNKNOWN) st->codec->codec_type != AVMEDIA_TYPE_UNKNOWN)
av_log(st->codec, AV_LOG_WARNING, av_log(st->codec, AV_LOG_WARNING,
"start time is not set in estimate_timings_from_pts\n"); "start time for stream %d is not set in estimate_timings_from_pts\n", i);
if (st->parser) { if (st->parser) {
av_parser_close(st->parser); av_parser_close(st->parser);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment