mirror of
https://github.com/mpv-player/mpv
synced 2025-01-22 07:33:14 +00:00
65f5fbc5d4
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. |
||
---|---|---|
.. | ||
angle_dynamic.c | ||
angle_dynamic.h | ||
common.c | ||
common.h | ||
context_angle.c | ||
context_cocoa.c | ||
context_drm_egl.c | ||
context_dxinterop.c | ||
context_rpi.c | ||
context_rpi.h | ||
context_w32.c | ||
context_wayland.c | ||
context_x11.c | ||
context_x11egl.c | ||
context.c | ||
context.h | ||
egl_helpers.c | ||
egl_helpers.h | ||
formats.c | ||
formats.h | ||
header_fixes.h | ||
hwdec_d3d11egl.c | ||
hwdec_d3d11eglrgb.c | ||
hwdec_dxva2.c | ||
hwdec_dxva2egl.c | ||
hwdec_dxva2gldx.c | ||
hwdec_osx.c | ||
hwdec_vaegl.c | ||
hwdec_vaglx.c | ||
hwdec_vdpau.c | ||
hwdec.c | ||
hwdec.h | ||
lcms.c | ||
lcms.h | ||
nnedi3_weights.bin | ||
nnedi3.c | ||
nnedi3.h | ||
osd.c | ||
osd.h | ||
superxbr.c | ||
superxbr.h | ||
user_shaders.c | ||
user_shaders.h | ||
utils.c | ||
utils.h | ||
video_shaders.c | ||
video_shaders.h | ||
video.c | ||
video.h |