mpv/options
wm4 986e10901d command: avoid going through prop->opt bridge from opt->prop bridge
The option->property bridge can't (and shouldn't) preserve option flags.
This is a problem if the flags are actually used by the option
implementation, beyond calling m_config_mark_co_flags().

This was true so far, but b8193e4071 changed this. Now setting the
--profile option (usually from a config file or as recursive profile)
can have side-effects that depend on the flags contents. Solve this by
avoiding going through the "double bridge" altogether.

This fixes a regression if an auto-profile is active, and the user
specifies an option on the command line that is supposed to override an
item in a profile recursively referenced by the auto-profile. The
command line option will not override it, because the auto-profile is
set later, and during application of the auto-profile, the
M_SETOPT_PRESERVE_CMDLINE flag gets lost.

Having to add something to m_property is not nice, and I'll probbaly
regret later. On the other hand, there is a chance that this helps
towards true option/property unification.
2017-06-16 21:31:24 +02:00
..
m_config.c options: make mess to allow setting profile option with libmpv 2017-06-15 15:23:25 +02:00
m_config.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
m_option.c options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
m_option.h command: add all options to property->option bridge 2017-06-15 15:29:54 +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 command: add all options to property->option bridge 2017-06-15 15:29:54 +02:00
options.h vo_opengl: hwdec_cuda: Support separate decode and display devices 2017-06-03 16:41:03 +02:00
parse_commandline.c options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +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 path: change license to LGPL 2017-06-12 16:41:21 +02:00
path.h path: change license to LGPL 2017-06-12 16:41:21 +02:00