summaryrefslogtreecommitdiffstats
path: root/options/m_config.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-26 20:39:15 +0100
committerwm4 <wm4@nowhere>2014-02-26 21:03:35 +0100
commiteca921039973720f94b6ee6035019739e9fed4fb (patch)
tree0bba6a70df58f9c35c5757f4b3566505faff7396 /options/m_config.c
parenta0b1d5f888130749f4d7d719a92a7500f802e33f (diff)
downloadmpv-eca921039973720f94b6ee6035019739e9fed4fb.tar.bz2
mpv-eca921039973720f94b6ee6035019739e9fed4fb.tar.xz
client API: treat MPV_FORMAT_STRING differently in mpv_set_property
Always map MPV_FORMAT_STRING to setting property value directly through M_PROPERTY_SET_STRING, instead of trying to go through M_PROPERTY_SET_NODE. This treats a direct MPV_FORMAT_STRING query differently from a MPV_FORMAT_STRING wrapped in a mpv_node. This was already the case in mpv_get_property(). The reason for all this is that mpv_node is supposed to be the exact type, while a direct MPV_FORMAT_STRING goes through all possible conversions. Not sure if these semantics are good.
Diffstat (limited to 'options/m_config.c')
0 files changed, 0 insertions, 0 deletions