This would also be very useful for cuvid, and would remove some ugly hacks and confusing corner cases from both cuvid.c and ffmpeg_cuvid.c.
patch looks fine to me as well _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel