From a8be8fe4f48d718b50274146519f1e2080fa80cd Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 6 Jul 2019 04:18:02 +0200 Subject: 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. --- video/decode/vd_lavc.c | 4 ++-- 1 file 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 }; -- cgit v1.2.3