lavc: Make hardware config method support more explicit for hwaccels
authorThomas Guillem <thomas@gllm.fr>
Fri, 8 Dec 2017 15:59:39 +0000 (15:59 +0000)
committerMark Thompson <sw@jkqxz.net>
Sun, 10 Dec 2017 16:31:15 +0000 (16:31 +0000)
commit84936f68ede265cfa3b9315f908bfe76e81fae6e
tree980443431270b5175868a5e13113289daf372aa7
parent149268b47c4b0f9c584771e41d266d10cf7e3bf0
lavc: Make hardware config method support more explicit for hwaccels

This fixes the use of old ad-hoc methods which are still supported by some
hwaccels which also support newer methods (DXVA2, VAAPI, VDPAU,
videotoolbox) - without the method being visible here, ff_get_format()
would refuse to use it.

Signed-off-by: Mark Thompson <sw@jkqxz.net>
libavcodec/hwaccel.h