[FFmpeg-devel] [PATCH]Only complain about missing rates for audio and video streams

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Feb 21 19:07:27 CET 2014


Michael Niedermayer <michaelni <at> gmx.at> writes:

> >      if (!ic->streams[i]->r_frame_rate.num &&
> >          ic->streams[i]->info->duration_count <= 1 &&
> > +        (ic->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO ||
> > +         ic->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) &&
> 
> this should be video only

Merged with that change.

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list