1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 10:32:15 +00:00
mpv/options
wm4 37ac43847e options: pre-check filter names when using vf/af libavfilter bridge
Until now, using a filter not in mpv's builtin filter list would assume
it's a libavfilter filter. If it wasn't, the option value was still
accepted, but creating the filter simply failed. But since this happens
after option parsing, so the result is confusing.

Improve this slightly by checking filter names. This will reject truly
unknown filters at option parsing time. Unfortunately, this still does
not check filter arguments. This would be much more complex, because
you'd have to create a dummy filter graph and allocate the filter. Maybe
another time.
2019-11-25 20:29:42 +01:00
..
m_config.c options: remove M_OPT_FIXED 2019-11-10 23:49:23 +01:00
m_config.h m_config: discourage mp_read_option_raw() 2019-11-25 00:52:30 +01:00
m_option.c options: pre-check filter names when using vf/af libavfilter bridge 2019-11-25 20:29:42 +01:00
m_option.h options: pre-check filter names when using vf/af libavfilter bridge 2019-11-25 20:29:42 +01:00
m_property.c command: move property multiply code to m_property.c 2018-03-26 19:47:08 +02:00
m_property.h command: move property multiply code to m_property.c 2018-03-26 19:47:08 +02:00
options.c command, options: deprecate old --display-fps behavior 2019-11-25 00:47:53 +01:00
options.h player: Optionally validate st_mtime when restoring playback state 2019-11-20 15:11:33 +01:00
parse_commandline.c Remove optical disc fancification layers 2019-09-13 17:31:59 +02:00
parse_commandline.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +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: fix url detection per RFC3986 2019-04-05 20:48:24 +03:00
path.h path: don't access global option struct 2018-05-24 19:56:35 +02:00