1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-06 07:00:30 +00:00
mpv/video/out
wm4 65f5fbc5d4 vo_opengl: somewhat simplify suboption handling mess
Enable m_sub_options_copy() to copy nested sub-options, and also enable
it to create an option struct from defaults. We can get rid of most of
the crap in assign_options() now.

Calling handle_scaler_opt() to get a static allocation for scaler name
is still needed. It's moved to reinit_scaler(), which seems to be a
better place for it. Without it, dangling pointers could be created when
options are changed. (And in fact, this fixes possible dangling pointers
for window.name.) In theory we could create a dynamic copy, but that
seemed even more messy.

Chance of regressions.
2016-06-04 20:48:56 +02:00
..
cocoa os x: handle multiple dropped files on the window 2016-04-30 18:58:06 +02:00
opengl vo_opengl: somewhat simplify suboption handling mess 2016-06-04 20:48:56 +02:00
wayland
win32
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_common.h
cocoa_common.m
d3d_shader_420p.h
d3d_shader_nv12.h
d3d_shader_yuv.hlsl
dither.c
dither.h
drm_common.c
drm_common.h
filter_kernels.c
filter_kernels.h
vo_caca.c
vo_direct3d.c vo_direct3d: remove passing device to decoder 2016-05-09 18:59:10 +02:00
vo_drm.c
vo_image.c
vo_lavc.c vo_lavc: fix build on Libav 2016-04-15 19:35:29 +02:00
vo_null.c
vo_opengl_cb.c vo_opengl: move all icc handling from vo_opengl.c to video.c 2016-06-03 20:35:22 +02:00
vo_opengl.c vo_opengl: move all icc handling from vo_opengl.c to video.c 2016-06-03 20:35:22 +02:00
vo_rpi.c vo_rpi: rename mutex/cond variables 2016-04-26 17:12:01 +02:00
vo_sdl.c
vo_vaapi.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vo_vdpau.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vo_wayland.c wayland: implement HIDPI support 2016-05-30 20:17:26 +02:00
vo_x11.c
vo_xv.c vo_xv: Handle incorrect size returned by Xv(Shm)CreateImage 2016-05-24 10:25:39 +02:00
vo.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vo.h video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
w32_common.c w32_common: center window on original window center on video resize 2016-05-30 16:58:07 +02:00
w32_common.h
wayland_common.c wayland: mark existing dnd entry print as debug rather than an error 2016-05-31 11:22:57 +02:00
wayland_common.h wayland: implement HIDPI support 2016-05-30 20:17:26 +02:00
win_state.c
win_state.h
x11_common.c x11: tell GNOME to use dark window decorations 2016-05-09 20:39:59 +02:00
x11_common.h
x11_icon.bin