1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00
mpv/video/filter
Dudemanguy a177fb6188 vf_vapoursynth: save display resolution as a variable
mpv has a generic method for getting the display resolution, so we can
save it in vf_vapoursynth without too much trouble. Unfortunately, the
resolution won't actually be available in many cases (like my own)
because the windowing backend doesn't actually know it yet. It looks
like at least windows always returns the default monitor (maybe we
should do something similar for x11 and wayland), so there's at least
some value. Of course, this still has a bunch of pitfalls like not being
able to cope with multi monitor setups at all but so does display_fps.
As an aside, the vapoursynth API this uses apparently requires R26 (an
ancient version anyway), so bump the build to compensate for this.
Fixes #11510
2023-08-13 19:58:20 +00:00
..
refqueue.c mp_image: abort on av_buffer_ref() failure 2023-06-28 20:56:23 -07:00
refqueue.h video: rewrite filtering glue code 2018-01-30 03:10:27 -08:00
vf_d3d11vpp.c various: fix typos 2023-03-28 19:29:44 +00:00
vf_fingerprint.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
vf_format.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
vf_gpu.c vf_gpu: initialize depth=1 on target textures 2023-02-28 14:13:55 +00:00
vf_sub.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
vf_vapoursynth.c vf_vapoursynth: save display resolution as a variable 2023-08-13 19:58:20 +00:00
vf_vavpp.c f_hwtransfer: disable vulkan multiplane images when uploading from cuda 2023-05-28 15:46:05 -07:00
vf_vdpaupp.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00