summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2023-06-22 12:43:02 -0700
committerPhilip Langdale <philipl@overt.org>2023-06-22 12:46:21 -0700
commit78285e98f1479ba27d652c9f79329fee5eb1add2 (patch)
tree320a3532ec30bf0d93105591ea289d128b315cb0 /video
parent32147956ca6868640f9a7144501aba1b2325ad5d (diff)
downloadmpv-78285e98f1479ba27d652c9f79329fee5eb1add2.tar.bz2
mpv-78285e98f1479ba27d652c9f79329fee5eb1add2.tar.xz
vo: hwdec: prioritise `drmprime` over `drmprime_overlay`
I originally left `drmprime_overlay` as higher priority because `drmprime` was new, and because I didn't have any hardware where both worked (only one or the other) so I couldn't compare relative performance, and if only one worked, the priority didn't matter. But with time and more usage, we've reached a point where we can say we would recommend using `drmprime` in situations where both work, and we've also been able to identify hardware where both do indeed work and it seems that `drmprime` is more reliable. So, let's flip them.
Diffstat (limited to 'video')
-rw-r--r--video/out/gpu/hwdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/hwdec.c b/video/out/gpu/hwdec.c
index 1e3edb0d8d..878ac148fb 100644
--- a/video/out/gpu/hwdec.c
+++ b/video/out/gpu/hwdec.c
@@ -74,8 +74,8 @@ const struct ra_hwdec_driver *const ra_hwdec_drivers[] = {
&ra_hwdec_rpi_overlay,
#endif
#if HAVE_DRM
- &ra_hwdec_drmprime_overlay,
&ra_hwdec_drmprime,
+ &ra_hwdec_drmprime_overlay,
#endif
#if HAVE_ANDROID_MEDIA_NDK
&ra_hwdec_aimagereader,