diff options
author | wm4 <wm4@nowhere> | 2017-06-15 15:22:06 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-15 15:29:54 +0200 |
commit | b8193e40719a2a72d9b25e8ea3070c0e84beb48e (patch) | |
tree | 489acbb02a0d443856853881096e650ce78fd69a /Copyright | |
parent | fd7de84833a7f492678e0caa18125ff9f9aa38a5 (diff) | |
download | mpv-b8193e40719a2a72d9b25e8ea3070c0e84beb48e.tar.bz2 mpv-b8193e40719a2a72d9b25e8ea3070c0e84beb48e.tar.xz |
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.
Diffstat (limited to 'Copyright')
0 files changed, 0 insertions, 0 deletions