mpv/video/out
Kacper Michajłow 5098a27e66 vo: ensure that frames are not eaten on reconfig
This avoids clearing the queued frame and the currently displayed one on
VO reconfiguration requests that happen when new frames arrive. Instead,
let those frames be fully displayed.

Fixes mf:// playback issues introduced after commit ef11d31.

Instead of removing the frame timing check embrace and fix it to wake up
the playloop as needed. The frame display duration is problematic to
handle as both VO and playloop thread would already be sleeping, but in
certain use cases it is needed to display frames in full, so in this
case, let the VO sleep to the end of frame, wake up the core as
requested and go back sleeping.

Note that this patch series reintroduces 0c9ac5835, which is esenitally
fixed in this commit. It is still not perfect, but it is better than
just busy waiting on playloop, even if those events when this would be
needed are quite rare.
2024-02-15 16:39:58 +00:00
..
d3d11 csputils: replace mp_colorspace with pl_color_space 2024-01-22 14:54:55 +00:00
gpu various: replace dead links in comments 2024-02-11 04:01:24 +00:00
gpu_next vo_gpu_next: respect d3d11 swapchain output format preference 2024-01-06 23:46:12 +01:00
hwdec hwdec_drmprime: check for AV_PIX_FMT_P210 before using it 2024-02-10 13:29:04 -08:00
mac mac: add support for --input-cursor-passthrough option 2023-12-25 13:59:48 +01:00
opengl player: remove all rpi-specific code 2024-02-05 17:41:06 +00:00
placebo csputils: replace mp_chroma_location with pl_chroma_location 2024-01-22 14:54:55 +00:00
vulkan wayland: drop buffer_scale use for viewporter 2024-01-27 05:12:12 +00:00
win32 meson: adjust win32 defines 2023-11-25 12:38:20 +01:00
wldmabuf
android_common.c
android_common.h
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_cb_common.swift mac: add support for --auto-window-resize option 2023-12-23 01:15:53 +01:00
dither.c
dither.h
dr_helper.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
dr_helper.h mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
drm_atomic.c
drm_atomic.h
drm_common.c vo: don't sleep 1ms always when requested time is in the past 2023-11-09 21:31:58 +00:00
drm_common.h drm: use present_sync mechanism for presentation feedback 2023-11-06 15:44:45 +00:00
drm_prime.c
drm_prime.h
filter_kernels.c various: replace dead links in comments 2024-02-11 04:01:24 +00:00
filter_kernels.h
libmpv.h
libmpv_sw.c
mac_common.swift mac: add support for --auto-window-resize option 2023-12-23 01:15:53 +01:00
meson.build
present_sync.c present_sync: remove unneeded clear_values function 2023-11-07 00:52:46 +00:00
present_sync.h present_sync: remove unneeded clear_values function 2023-11-07 00:52:46 +00:00
vo.c vo: ensure that frames are not eaten on reconfig 2024-02-15 16:39:58 +00:00
vo.h Reapply "video: remove another redundant wakeup" 2024-02-15 16:39:58 +00:00
vo_caca.c
vo_direct3d.c vo_direct3d: remove redundant condition 2023-11-18 23:55:28 +00:00
vo_dmabuf_wayland.c vo_dmabuf_wayland: scale smarter in hidpi situations 2024-01-27 05:12:12 +00:00
vo_drm.c drm: use present_sync mechanism for presentation feedback 2023-11-06 15:44:45 +00:00
vo_gpu.c vo_gpu: don't pass ra_fbo by value 2023-11-28 10:46:16 +01:00
vo_gpu_next.c io: add mp_save_file 2024-01-31 15:38:21 +00:00
vo_image.c
vo_kitty.c vo_kitty: init all fields of struct sigaction before using it 2023-11-28 10:46:16 +01:00
vo_lavc.c csputils: replace mp_colorspace with pl_color_space 2024-01-22 14:54:55 +00:00
vo_libmpv.c timer: remove unnecesary time conversions 2023-11-05 17:36:17 +00:00
vo_mediacodec_embed.c
vo_null.c
vo_sdl.c vo_sdl: support the focused property 2023-12-29 11:31:18 +01:00
vo_sixel.c
vo_tct.c
vo_vaapi.c csputils: replace mp_colorspace with pl_color_space 2024-01-22 14:54:55 +00:00
vo_vdpau.c vo_vdpau: cosmetic changes to timings 2024-02-07 14:45:07 +00:00
vo_wlshm.c wayland: drop buffer_scale use for viewporter 2024-01-27 05:12:12 +00:00
vo_x11.c
vo_xv.c csputils: replace mp_colorspace with pl_color_space 2024-01-22 14:54:55 +00:00
w32_common.c various: replace dead links in comments 2024-02-11 04:01:24 +00:00
w32_common.h
wayland_common.c wayland: don't press keys again when releasing modifiers 2024-02-11 04:01:14 +00:00
wayland_common.h wayland_common: prefer axis_value120 if supported 2024-02-04 02:14:11 +00:00
win_state.c
win_state.h
x11_common.c x11_common: fix Xft.dpi detection ignoring --hidpi-window-scale 2024-02-12 13:51:25 +01:00
x11_common.h x11_common: allow DPI scale in unit of 0.5 2024-01-10 00:33:05 +01:00