mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Do not warn about missing start time for unknown streams.
This commit is contained in:
parent
1f7e9be0b0
commit
f5fe6a4f79
@ -2382,7 +2382,9 @@ static void estimate_timings_from_pts(AVFormatContext *ic, int64_t old_offset)
|
||||
|
||||
for (i = 0; i < ic->nb_streams; i++) {
|
||||
st = ic->streams[i];
|
||||
if (st->start_time == AV_NOPTS_VALUE && st->first_dts == AV_NOPTS_VALUE)
|
||||
if (st->start_time == AV_NOPTS_VALUE &&
|
||||
st->first_dts == AV_NOPTS_VALUE &&
|
||||
st->codec->codec_type != AVMEDIA_TYPE_UNKNOWN)
|
||||
av_log(st->codec, AV_LOG_WARNING,
|
||||
"start time is not set in estimate_timings_from_pts\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user