diff options
author | wm4 <wm4@nowhere> | 2014-02-24 20:39:51 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-24 22:50:23 +0100 |
commit | 942fb43d0cdc58b0b2fad15bab564fd5105698ff (patch) | |
tree | 797aa3db62fb264869123e335f35266539335e52 /player/command.h | |
parent | a6ebfbea6922632efb2cab020303397a418959f1 (diff) | |
download | mpv-942fb43d0cdc58b0b2fad15bab564fd5105698ff.tar.bz2 mpv-942fb43d0cdc58b0b2fad15bab564fd5105698ff.tar.xz |
client API: implement setting options using their native type too
This is only half-implemented: actually the option will first be
converted from mpv_node to its native type, then it's converted to a
string, and then back to its native type. This is because the option
API was made for strings and not anything else.
Other than being grossly inelegant, the only downside is probably with
string lists and key/value lists, which don't escape strings containing
syntax elements correctly.
Diffstat (limited to 'player/command.h')
0 files changed, 0 insertions, 0 deletions