summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2022-08-09 22:15:36 -0700
committerPhilip Langdale <philipl@overt.org>2022-08-09 22:19:45 -0700
commit4081f455016bcbb554cfa86809e361e8e2e414c4 (patch)
treef8d7049fdb3c0a0d8278faa46c4fdcdad63e0ab9 /video/out
parent6265cbb62a9169429bbc1b20f41c8dd50f6b8147 (diff)
downloadmpv-4081f455016bcbb554cfa86809e361e8e2e414c4.tar.bz2
mpv-4081f455016bcbb554cfa86809e361e8e2e414c4.tar.xz
gpu/hwdec: reorder `drmprime` below `drmprime_drm`
The older overlay based drmprime hwdec should be preferred to the new texture mapping one. This is for a few reasons: 1. In any situation where both hwdecs work, it's probably right to use the more mature one by default, for now. 2. It seems like the overlay path primarily works on older SoCs where the texture path is less performant, and in at least one tested case is visually buggy, so you definitely want it to be tried first. 3. In situations where the old hwdec doesn't work, it will fall through to the new one.
Diffstat (limited to 'video/out')
-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 25bdf116c9..4217bad16a 100644
--- a/video/out/gpu/hwdec.c
+++ b/video/out/gpu/hwdec.c
@@ -75,8 +75,8 @@ const struct ra_hwdec_driver *const ra_hwdec_drivers[] = {
&ra_hwdec_rpi_overlay,
#endif
#if HAVE_DRM
- &ra_hwdec_drmprime,
&ra_hwdec_drmprime_drm,
+ &ra_hwdec_drmprime,
#endif
NULL