1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-17 21:27:08 +00:00
mpv/video/out
Dudemanguy a89ba2c749 vo: replace some magic numbers with timer macros
Most importantly, the wait_until addition was missed while doing the
unit conversions to nanoseconds which meant mpv woke up roughly every
second since not nearly enough time was added. It was meant to be 1000
seconds (1e9 in microseconds). Use a macro so it's more readable. Also
put some other wild 1e9 calculations inside of a macro as well.

Fixes a899e14bcc.
2023-11-09 21:31:58 +00:00
..
cocoa mac: remove runtime checks and compatibility for macOS older than 10.15 2023-11-09 18:12:25 +00:00
d3d11 d3d11: calc vsync interval on real stats, not just last interval 2023-10-23 00:10:49 +00:00
gpu vo_gpu_next: add --target-gamut option 2023-11-08 00:55:39 +01:00
gpu_next
hwdec ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
mac mac: remove runtime checks and compatibility for macOS older than 10.15 2023-11-09 18:12:25 +00:00
opengl drm: use present_sync mechanism for presentation feedback 2023-11-06 15:44:45 +00:00
placebo ra_pl: drop deprecated cached_program param 2023-11-05 01:00:02 +00:00
vulkan vo_gpu/vo_gpu_next: add vulkan support for macOS 2023-10-14 18:39:56 +02:00
win32 ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
wldmabuf
android_common.c
android_common.h
aspect.c aspect: remove unused multiplication 2023-10-23 00:10:42 +00:00
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_cb_common.swift mac: remove runtime checks and compatibility for macOS older than 10.15 2023-11-09 18:12:25 +00:00
cocoa_common.h
cocoa_common.m mac: remove runtime checks and compatibility for macOS older than 10.15 2023-11-09 18:12:25 +00:00
dither.c dither: removed some unused code 2023-10-16 15:38:59 +00:00
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 present_sync: remove unneeded clear_values function 2023-11-07 00:52:46 +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 vo_gpu: remove --scale-cutoff etc 2023-09-25 12:45:17 +02:00
filter_kernels.h vo_gpu: remove --scale-cutoff etc 2023-09-25 12:45:17 +02:00
libmpv_sw.c
libmpv.h
mac_common.swift mac: remove runtime checks and compatibility for macOS older than 10.15 2023-11-09 18:12:25 +00:00
meson.build meson: rename all features with underscores 2023-08-20 21:13:37 +00:00
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_caca.c vo: fully replace draw_image with draw_frame 2023-10-01 14:48:38 +00:00
vo_direct3d.c vo: fully replace draw_image with draw_frame 2023-10-01 14:48:38 +00:00
vo_dmabuf_wayland.c vo_dmabuf_wayland: correct full window size calculation 2023-10-05 22:28:37 +00:00
vo_drm.c drm: use present_sync mechanism for presentation feedback 2023-11-06 15:44:45 +00:00
vo_gpu_next.c vo: replace VOCTRL_HDR_METADATA with direct VO params read 2023-11-08 21:45:07 +00:00
vo_gpu.c vo: change vo->driver->wait_events to nanoseconds 2023-10-10 19:10:55 +00:00
vo_image.c vo: fully replace draw_image with draw_frame 2023-10-01 14:48:38 +00:00
vo_kitty.c
vo_lavc.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +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 timer: change mp_sleep_us to mp_sleep_ns 2023-10-10 19:10:55 +00:00
vo_rpi.c timer: remove unnecesary time conversions 2023-11-05 17:36:17 +00:00
vo_sdl.c vo: change vo->driver->wait_events to nanoseconds 2023-10-10 19:10:55 +00:00
vo_sixel.c vo_sixel: change exit-clear handling to OPT_REPLACED 2023-09-21 16:06:29 +00:00
vo_tct.c vo: fully replace draw_image with draw_frame 2023-10-01 14:48:38 +00:00
vo_vaapi.c vo: fully replace draw_image with draw_frame 2023-10-01 14:48:38 +00:00
vo_vdpau.c vo: use nanoseconds for frame duration and pts 2023-10-10 19:10:55 +00:00
vo_wlshm.c
vo_x11.c timer: add convenience time unit conversion macros 2023-10-16 15:38:59 +00:00
vo_xv.c timer: add convenience time unit conversion macros 2023-10-16 15:38:59 +00:00
vo.c vo: replace some magic numbers with timer macros 2023-11-09 21:31:58 +00:00
vo.h vo: replace VOCTRL_HDR_METADATA with direct VO params read 2023-11-08 21:45:07 +00:00
w32_common.c win32: fix hit test using client rc instead window 2023-11-07 16:42:28 +00:00
w32_common.h
wayland_common.c present_sync: only save as many entries as the swapchain depth 2023-11-07 00:52:46 +00:00
wayland_common.h vo: change vo->driver->wait_events to nanoseconds 2023-10-10 19:10:55 +00:00
win_state.c
win_state.h
x11_common.c present_sync: only save as many entries as the swapchain depth 2023-11-07 00:52:46 +00:00
x11_common.h various: sort some standard headers 2023-10-20 21:31:09 +02:00