On Fri, Feb 26, 2016 at 06:13:04PM +0000, Derek Buitenhuis wrote: > On 2/26/2016 5:42 PM, Reimar Döffinger wrote: > > + av_assert0(frame->format == avctx->pix_fmt); > > Is this valid? Mid-stream colorspace changes are fairly common.
I believed we enforce a sequence point (i.e. we make sure to finish everything, free all resources and then continue) when such a change happens. However going by the documentation the get_buffer2 API at least allows them to differ, so I'll remove it. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel