[FFmpeg-devel] [PATCH] vaapi_vp9: Do not set bit_depth on old versions

James Almer jamrial at gmail.com
Thu Dec 8 18:13:56 EET 2016

On 12/8/2016 12:55 PM, Mark Thompson wrote:
> On 08/12/16 15:51, Mark Thompson wrote:
>> Hacky fix enclosing, only compile tested.
>> A configure test for this might be better, because we could then check it sensibly in the generic code and bail out earlier?  (Which would permit software decode, this will attempt hardware decode and fail.)
> Or maybe change the current configure test to drop support for VP9 in those versions entirely?  Newer versions of libva including the field already existed when the first hardware which could do VP9 at all through this was released.
> - Mark

Definitely make the first version with that field the minimum in that case.
The least amount of ifdeffery the better.

More information about the ffmpeg-devel mailing list