diff options
author | Niklas Haas <git@haasn.dev> | 2022-04-09 23:58:59 +0200 |
---|---|---|
committer | Niklas Haas <github-daiK1o@haasn.dev> | 2022-04-11 15:43:51 +0200 |
commit | 26a3a0686179627de6c9bffd45ae4c15a0b37771 (patch) | |
tree | d2523ba898c4ca1161767ee81a138035f2301cc1 /wscript | |
parent | 2cafe5137f1544df130face8f748cc571ddf0445 (diff) | |
download | mpv-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-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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', |