diff options
author | wm4 <wm4@nowhere> | 2019-07-06 04:18:02 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:05 +0200 |
commit | a8be8fe4f48d718b50274146519f1e2080fa80cd (patch) | |
tree | 6bbbaa1c09beb9e894334f3f677e79071e91cf76 /video | |
parent | a17337910c9c61ba0b4959fec3cf476493107d77 (diff) | |
download | mpv-a8be8fe4f48d718b50274146519f1e2080fa80cd.tar.bz2 mpv-a8be8fe4f48d718b50274146519f1e2080fa80cd.tar.xz |
vd_lavc: put vaapi before vdpau in autoprobe order
--hwdec=auto-copy was preferring vdpau over vaapi. In the HEVC 10 bit
case, this also led to hardware decoding not being enabled. (Probably
because the probing can't start over after enabling hw decoding fails at
runtime, or something like that.)
Possible that this subtly breaks on some setups. You can't always win.
Diffstat (limited to 'video')
-rw-r--r-- | video/decode/vd_lavc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index dfc8bda804..e07eecc2d2 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -223,10 +223,10 @@ static const char *const hwdec_autoprobe_order[] = { "d3d11va-copy", "nvdec", "nvdec-copy", - "vdpau", - "vdpau-copy", "vaapi", "vaapi-copy", + "vdpau", + "vdpau-copy", 0 }; |