mpv/video
Julian Orth c25129339d wayland: always start rendering after a resize
The wayland backend contains logic to detect if the window is hidden. If
so, we skip rendering as an optimization. However, if we receive
multiple resize events in rapid succession, we will send the compositor
new buffers faster than the refresh rate of the monitor.  Therefore the
compositor will not send us frame events which we incorrectly interpret
as the window being hidden.

Once the last buffer has actually been rendered, the compositor sends us
a frame event. However, if at that point playback is paused, there is no
logic to restart rendering of frames that we skipped due to the above
optimization.  Therefore we never send the compositor new buffers
corresponding to the new size of the window and the surface will either
be too small or too large.

The simplest solution is to always render a few frames after we receive
a resize event.
2022-02-03 16:15:59 +00:00
..
decode vd_lavc: enable hwdec for prores by default 2021-12-29 01:04:09 +02:00
filter vf_format: add dolbyvision sub-option 2022-01-09 13:06:27 +01:00
out wayland: always start rendering after a resize 2022-02-03 16:15:59 +00:00
csputils.c csputils: add mappings for DCI-P3 (ST.431-2) and P3-D65 (ST.432-1) 2020-12-30 20:03:54 +02:00
csputils.h csputils: add MP_CHROMA_TOPLEFT 2020-12-02 01:36:29 +01:00
cuda.c
d3d.c
d3d.h
fmt-conversion.c
fmt-conversion.h
hwdec.c
hwdec.h
image_loader.c
image_loader.h
image_writer.c image_writer: replace deprecated av_init_packet() 2022-01-10 22:56:52 +01:00
image_writer.h
img_format.c
img_format.h
mp_image.c mp_image: add dolbyvision metadata 2022-01-09 13:06:27 +01:00
mp_image.h mp_image: add dolbyvision metadata 2022-01-09 13:06:27 +01:00
mp_image_pool.c
mp_image_pool.h
repack.c osdep: rename MP_UNREACHABLE 2021-11-03 15:15:20 +01:00
repack.h
sws_utils.c sws_utils: work around libswscale corrupting memory yet again 2020-09-17 15:24:27 +02:00
sws_utils.h sws_utils: work around libswscale corrupting memory yet again 2020-09-17 15:24:27 +02:00
vaapi.c
vaapi.h
vdpau.c
vdpau.h
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
zimg.c csputils: add MP_CHROMA_TOPLEFT 2020-12-02 01:36:29 +01:00
zimg.h