summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2022-04-09 23:58:59 +0200
committerNiklas Haas <github-daiK1o@haasn.dev>2022-04-11 15:43:51 +0200
commit26a3a0686179627de6c9bffd45ae4c15a0b37771 (patch)
treed2523ba898c4ca1161767ee81a138035f2301cc1 /wscript
parent2cafe5137f1544df130face8f748cc571ddf0445 (diff)
downloadmpv-26a3a0686179627de6c9bffd45ae4c15a0b37771.tar.bz2
mpv-26a3a0686179627de6c9bffd45ae4c15a0b37771.tar.xz
vo_gpu_next: switch to unpooled hwdec mapping
This makes use of the new frame acquire/release callbacks to hold on to hwdec images only as long as necessary. This should greatly improve the smoothness/efficiency of hwdec interop, by not holding on to them for longer than needed. This also avoids the need to pool hwdec mappers altogether. Should fix #10067 as well, since frames are now only mapped when we actually use them.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index 2331624ff3..5857414cf6 100644
--- a/wscript
+++ b/wscript
@@ -741,9 +741,9 @@ video_output_features = [
'func': check_pkg_config('libplacebo >= 4.157.0'),
}, {
'name': 'libplacebo-next',
- 'desc': 'libplacebo v4.199+, needed for vo_gpu_next',
+ 'desc': 'libplacebo v4.202+, needed for vo_gpu_next',
'deps': 'libplacebo',
- 'func': check_preprocessor('libplacebo/config.h', 'PL_API_VER >= 199',
+ 'func': check_preprocessor('libplacebo/config.h', 'PL_API_VER >= 202',
use='libplacebo'),
}, {
'name': '--vulkan',