mpv/options
wm4 b8193e4071 command: add all options to property->option bridge
Before this, options with co->data==NULL (i.e. no storage) were not
added to the bridge (except alias options). There are a few options
which might make sense to allow via the bridge ("profile" and
"include"). So allow them.

In command_init(), we merely remove the co->data check, the rest of the
diff is due to switching the if/else branches for convenience.

We also must explicitly error on M_PROPERTY_GET if co->data==NULL. All
other cases check it in some way.

Explicitly exclude options from the property bridge, which would be
added due this, and the result would be pointless.
2017-06-15 15:29:54 +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 m_property: change license to LGPL 2017-06-12 17:00:20 +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