diff options
author | Dudemanguy <random342@airmail.cc> | 2023-08-11 22:20:43 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-08-13 19:58:20 +0000 |
commit | 64db68639dd56edbd0de4d3c71f75ab14f9bc135 (patch) | |
tree | 930c61f1e69af7d41f4542fccd3ac33e800edcef /video/out/x11_common.c | |
parent | 4a6abff812aec8666ede396072798130b2683c9f (diff) | |
download | mpv-64db68639dd56edbd0de4d3c71f75ab14f9bc135.tar.bz2 mpv-64db68639dd56edbd0de4d3c71f75ab14f9bc135.tar.xz |
wayland: use fallback for display-fps/width/height
During initialization, the mpv window was not available and wayland
simply just reported nothing. But this can be a nuisance and there are
cases where having a values is better than nothing (vapoursynth). So if
current->output isn't available yet, fallback to find_output instead.
This is influenced by what is set by options like --screen and
--screen-name, but we'll consider that a feature not a bug.
Diffstat (limited to 'video/out/x11_common.c')
0 files changed, 0 insertions, 0 deletions