[FFmpeg-devel] [PATCH]Do not warn about missing start time for unknown streams

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Feb 21 19:06:28 CET 2014


Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> -  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

Merged by Michael.

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list