0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/video/out
sunpenghao 1dd71a6093 win32: improve window snapping behavior
Several window resizing operations (i.e., --auto-window-resize,
border dragging with --keep-aspect-window, Alt+0/1/2) cause the
window to detach from the snapped borders. This patch resolves
this by recording to which borders the window is snapped, and
using this info to determine how the window should be placed after
resizing.

Closes https://github.com/mpv-player/mpv/issues/6588
2023-10-10 19:41:08 +00:00
..
cocoa cocoa_common: remove deprecated VOCTRLs/VO_EVENTs 2019-12-12 19:56:03 +01:00
d3d11 vo: change vsync base to nanoseconds 2023-09-29 20:48:58 +00:00
gpu vo: change vo->driver->wait_events to nanoseconds 2023-10-10 19:10:55 +00:00
gpu_next vo_gpu_next: respect gl->flipped 2023-05-27 11:37:48 +02:00
hwdec hwdec_drmprime: add nv16 support 2023-09-29 12:10:59 +02:00
mac options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
opengl timer: change mp_sleep_us to mp_sleep_ns 2023-10-10 19:10:55 +00:00
placebo libplacebo: drop PL_API_VER compatibility paths 2023-08-18 16:39:57 +02:00
vulkan vo: change vo->driver->wait_events to nanoseconds 2023-10-10 19:10:55 +00:00
win32 win32: don't load dynamically always available functions 2023-09-01 16:58:56 +02:00
wldmabuf vo_dmabuf_wayland: drop linux-dmabuf-v2 (again) 2023-06-16 14:46:59 +00:00
android_common.c video/out/android: assert WinID value before use 2023-06-03 17:07:43 +02:00
android_common.h vo: change vo_platform_init to bool 2023-01-08 20:42:42 +00:00
aspect.c Revert "aspect: change --video-pan-x/y to be relative to the destination rect" 2023-09-02 16:18:31 +00:00
aspect.h aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
bitmap_packer.c video/out/bitmap_packer: Avoid empty initializer list 2019-11-18 16:50:21 +01:00
bitmap_packer.h bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
cocoa_cb_common.swift options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
cocoa_common.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
cocoa_common.m timer: rename mp_add_timeout to reflect what it actually does 2023-09-29 20:48:58 +00:00
dither.c various: fix warning -Wimplicit-const-int-float-conversion 2023-02-26 16:45:07 +01:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
dr_helper.c vo: add int flags to the get_image signature 2023-01-23 14:13:34 +01:00
dr_helper.h vo: add int flags to the get_image signature 2023-01-23 14:13:34 +01:00
drm_atomic.c drm: rewrite based around vo_drm_state 2023-01-21 17:08:29 +00:00
drm_atomic.h drm: rewrite based around vo_drm_state 2023-01-21 17:08:29 +00:00
drm_common.c vo: use mp_poll wrapper in wait_events when applicable 2023-10-10 19:10:55 +00:00
drm_common.h vo: change vo->driver->wait_events to nanoseconds 2023-10-10 19:10:55 +00:00
drm_prime.c drm_prime: fallback to drmModeAddFB2 2020-05-08 21:26:25 +02:00
drm_prime.h drm_prime: double free bug 2020-03-05 18:12:57 +01:00
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 various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
libmpv.h vo: add int flags to the get_image signature 2023-01-23 14:13:34 +01:00
meson.build meson: rename all features with underscores 2023-08-20 21:13:37 +00:00
present_sync.c vo: change vsync base to nanoseconds 2023-09-29 20:48:58 +00:00
present_sync.h vo: move wayland presentation to separate files 2022-06-19 18:13:55 +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 vo_drm: remove VOCTRL_SCREENSHOT_WIN 2023-07-21 20:23:11 +02:00
vo_gpu_next.c vo: change vo->driver->wait_events to nanoseconds 2023-10-10 19:10:55 +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 options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
vo_lavc.c options: remove a few options marked with .deprecation_message 2023-09-21 16:06:29 +00:00
vo_libmpv.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
vo_mediacodec_embed.c hwdec: fix undeclared identifier in mediacodec_embed 2023-06-28 10:29:24 -07:00
vo_null.c timer: change mp_sleep_us to mp_sleep_ns 2023-10-10 19:10:55 +00:00
vo_rpi.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15: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_wlshm: bail out of resize if width/height is 0 2023-07-08 20:47:35 -05:00
vo_x11.c timer: change mp_sleep_us to mp_sleep_ns 2023-10-10 19:10:55 +00:00
vo_xv.c timer: change mp_sleep_us to mp_sleep_ns 2023-10-10 19:10:55 +00:00
vo.c vo: change vo->driver->wait_events to nanoseconds 2023-10-10 19:10:55 +00:00
vo.h vo: change vo->driver->wait_events to nanoseconds 2023-10-10 19:10:55 +00:00
w32_common.c win32: improve window snapping behavior 2023-10-10 19:41:08 +00:00
w32_common.h vo: change vo_platform_init to bool 2023-01-08 20:42:42 +00:00
wayland_common.c vo: change vo->driver->wait_events to nanoseconds 2023-10-10 19:10:55 +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: add vo_calc_window_geometry3 2021-09-06 10:16:10 +03:00
win_state.h win_state: add vo_calc_window_geometry3 2021-09-06 10:16:10 +03:00
x11_common.c vo: use mp_poll wrapper in wait_events when applicable 2023-10-10 19:10:55 +00:00
x11_common.h vo: change vo->driver->wait_events to nanoseconds 2023-10-10 19:10:55 +00:00