summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorJonas Karlman <jonas@kwiboo.se>2019-01-24 22:11:10 +0100
committerwm4 <1387750+wm4@users.noreply.github.com>2019-09-27 13:08:27 +0200
commit16d2ddb5050ef56825875476a9a0b545f2462eee (patch)
tree1419a0c1adc2a2239b285791f5d7d09ea680b9f9 /wscript
parentc3687b9eaaaddf8dae075e903fd464b503229d07 (diff)
downloadmpv-16d2ddb5050ef56825875476a9a0b545f2462eee.tar.bz2
mpv-16d2ddb5050ef56825875476a9a0b545f2462eee.tar.xz
vo_gpu: hwdec_drmprime_drm: add hwdec ctx
This allows to use drm hwaccels that require a hwdevice. Tested with v4l2request hwaccel and cedrus driver on an allwinner device running mpv with --vo=gpu --gpu-context=drm --hwdec=drm.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index a83abcbc12..93144f9edd 100644
--- a/wscript
+++ b/wscript
@@ -563,7 +563,7 @@ video_output_features = [
'name': '--drm',
'desc': 'DRM',
'deps': 'vt.h',
- 'func': check_pkg_config('libdrm'),
+ 'func': check_pkg_config('libdrm', '>= 2.4.74'),
}, {
'name': '--drmprime',
'desc': 'DRM Prime ffmpeg support',