diff options
author | wm4 <wm4@nowhere> | 2015-03-05 13:02:30 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-03-11 12:31:40 +0900 |
commit | bbd6501bd31acf74d3098a9629d95a33e2b75968 (patch) | |
tree | db15a4081ad49ce001fe90b32e28efc85c6e3a2a /video | |
parent | dc29a21b5c61ed7316766176476455309492b0c9 (diff) | |
download | mpv-bbd6501bd31acf74d3098a9629d95a33e2b75968.tar.bz2 mpv-bbd6501bd31acf74d3098a9629d95a33e2b75968.tar.xz |
vd_lavc: let --hwdec=auto select "vaapi-copy"
Instead of "vaapi", simply by changing the probe order.
"vaapi" uses the GLX GL interop, which has causing us more problems than
it solved.
Unfortunately this leads also to copying if "--hwdec=auto --vo=vaapi" is
used, even though GLX is not involved in this case - but I don't care
enough to make the probe logic cleverer just for this. You can still get
the zero-copy path with --hwdec=vaapi.
(cherry picked from commit 27b5492a828b5321a2f379f88f8f425cac0bbb85)
Diffstat (limited to 'video')
-rw-r--r-- | video/decode/vd_lavc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 9e0a778990..8c015385be 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -130,8 +130,8 @@ static const struct vd_lavc_hwdec *const hwdec_list[] = { &mp_vd_lavc_vda, #endif #if HAVE_VAAPI_HWACCEL - &mp_vd_lavc_vaapi, &mp_vd_lavc_vaapi_copy, + &mp_vd_lavc_vaapi, #endif #if HAVE_DXVA2_HWACCEL &mp_vd_lavc_dxva2_copy, |