vd_lavc: adjust D3D11VA autoprobe order

We want to prefer d3d11va over dxva2 anything. But since dxva2 copyback
is more efficient than d3d11va's currently, d3d11va-copy should come
last.
This commit is contained in:
wm4 2016-04-27 13:54:20 +02:00
parent 3706918311
commit 9896994688
1 changed files with 3 additions and 1 deletions

View File

@ -154,12 +154,14 @@ static const struct vd_lavc_hwdec *const hwdec_list[] = {
&mp_vd_lavc_vaapi,
&mp_vd_lavc_vaapi_copy,
#endif
#if HAVE_D3D11VA_HWACCEL
&mp_vd_lavc_d3d11va,
#endif
#if HAVE_DXVA2_HWACCEL
&mp_vd_lavc_dxva2,
&mp_vd_lavc_dxva2_copy,
#endif
#if HAVE_D3D11VA_HWACCEL
&mp_vd_lavc_d3d11va,
&mp_vd_lavc_d3d11va_copy,
#endif
#if HAVE_ANDROID