mirror of https://github.com/mpv-player/mpv
a177fb6188
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 |
||
---|---|---|
.. | ||
refqueue.c | ||
refqueue.h | ||
vf_d3d11vpp.c | ||
vf_fingerprint.c | ||
vf_format.c | ||
vf_gpu.c | ||
vf_sub.c | ||
vf_vapoursynth.c | ||
vf_vavpp.c | ||
vf_vdpaupp.c |