mirror of https://github.com/mpv-player/mpv
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:
parent
3706918311
commit
9896994688
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue