summaryrefslogtreecommitdiffstats
path: root/video/decode/vd_lavc.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-29 15:14:38 +0200
committerwm4 <wm4@nowhere>2015-06-29 15:14:38 +0200
commita5b96226a0a9df11e1c86565410c7338a03d0b7c (patch)
tree9c63ddc37c3ee244b0a348c59843163dfc289382 /video/decode/vd_lavc.c
parentef3d121c9e57ece01434e1de7e027e77eadbef80 (diff)
downloadmpv-a5b96226a0a9df11e1c86565410c7338a03d0b7c.tar.bz2
mpv-a5b96226a0a9df11e1c86565410c7338a03d0b7c.tar.xz
vaapi: prefer direct display over copy-back
Again. With the old OpenGL interop dropped, this probably works better than vaapi-copy now. Last time we defaulted to vaapi-copy, because the OpenGL interop could swap U/V planes and other stupid crap. We'll see.
Diffstat (limited to 'video/decode/vd_lavc.c')
-rw-r--r--video/decode/vd_lavc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index 61bd7bc798..8320001e6b 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -133,8 +133,8 @@ static const struct vd_lavc_hwdec *const hwdec_list[] = {
&mp_vd_lavc_vda,
#endif
#if HAVE_VAAPI_HWACCEL
- &mp_vd_lavc_vaapi_copy,
&mp_vd_lavc_vaapi,
+ &mp_vd_lavc_vaapi_copy,
#endif
#if HAVE_DXVA2_HWACCEL
&mp_vd_lavc_dxva2_copy,