avcodec: favor D3D11VA over DXVA2
commit47d63b2ecdf018d3cca21c293e296aa91a6bd473
authorSteve Lhomme <robux4@videolabs.io>
Thu, 10 Aug 2017 11:51:41 +0000 (10 13:51 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 10 Aug 2017 19:12:56 +0000 (10 21:12 +0200)
tree40cfde14e04dfbbe747ecc46101e4fbc876cc34a
parent3d76af6ddf2559b6ebb97e220405bfd128f03a7b
avcodec: favor D3D11VA over DXVA2

The order in which the vout are tried depends on which is the best for the
first video acceleration. Since we want D3D11 when possible we need to have
the matching VA by default too. On systems where D3D11VA doesn't work it will
fallback normally to DXVA2 and will use D3D9 with it.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/avcodec/video.c