lavc: Make hardware config method support more explicit for hwaccels

Multimedia / FFmpeg - Thomas Guillem [gllm.fr] - 10 December 2017 16:31 UTC

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.

84936f68ed lavc: Make hardware config method support more explicit for hwaccels
libavcodec/hwaccel.h | 36 +++++++++++++-----------------------
1 file changed, 13 insertions(+), 23 deletions(-)

  • Share