1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-12 18:07:12 +00:00
mpv/options
wm4 03cf150ff3 video: redo video equalizer option handling
I really wouldn't care much about this, but some parts of the core code
are under HAVE_GPL, so there's some need to get rid of it. Simply turn
the video equalizer from its current fine-grained handling with vf/vo
fallbacks into global options. This makes updating them much simpler.

This removes any possibility of applying video equalizers in filters,
which affects vf_scale, and the previously removed vf_eq. Not a big
loss, since the preferred VOs have this builtin.

Remove video equalizer handling from vo_direct3d, vo_sdl, vo_vaapi, and
vo_xv. I'm not going to waste my time on these legacy VOs.

vo.eq_opts_cache exists _only_ to send a VOCTRL_SET_EQUALIZER, which
exists _only_ to trigger a redraw. This seems silly, but for now I feel
like this is less of a pain. The rest of the equalizer using code is
self-updating.

See commit 96b906a51d for how some video equalizer code was GPL only.
Some command line option names and ranges can probably be traced back to
a GPL only committer, but we don't consider these copyrightable.
2017-08-22 17:01:35 +02:00
..
m_config.c options: add a thread-safe way to notify option updates 2017-08-22 15:50:33 +02:00
m_config.h options: add a thread-safe way to notify option updates 2017-08-22 15:50:33 +02:00
m_option.c m_option: deprecate multiple items for -add etc. 2017-07-02 16:47:27 +02:00
m_option.h options: add a thread-safe way to notify option updates 2017-08-22 15:50:33 +02:00
m_property.c m_property: change license to LGPL 2017-06-12 17:00:20 +02:00
m_property.h command: avoid going through prop->opt bridge from opt->prop bridge 2017-06-16 21:31:24 +02:00
options.c video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
options.h video: redo video equalizer option handling 2017-08-22 17:01:35 +02:00
parse_commandline.c m_option: remove redundant indirections 2017-07-02 13:07:36 +02:00
parse_commandline.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
parse_configfile.c options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
parse_configfile.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
path.c options/path: fallback to USERPROFILE if HOME isn't set 2017-07-06 15:45:08 +01:00
path.h path: change license to LGPL 2017-06-12 16:41:21 +02:00