summaryrefslogtreecommitdiffstats
path: root/options/m_config.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-23 20:49:08 +0200
committerwm4 <wm4@nowhere>2016-09-23 20:49:08 +0200
commitf4db6b8479e52476f3ee35d9f6153e251b498462 (patch)
tree578491f8fc9eb17f9d1fe3c6fc7b3eb6b8f98338 /options/m_config.c
parent5f2822d5024d6de03b947cf081336ce329e3b15b (diff)
downloadmpv-f4db6b8479e52476f3ee35d9f6153e251b498462.tar.bz2
mpv-f4db6b8479e52476f3ee35d9f6153e251b498462.tar.xz
command: make most options observable
The property observation mechanism turns properties into integer IDs for fast comparison. This means if two properties get the same ID, they will receive the same notifications. Use this to make properties under options/ receive notifications. The option-property bridge marks top-level properties with the same name as the options. This still might not work in cases the C code sets values on options structs directly.
Diffstat (limited to 'options/m_config.c')
0 files changed, 0 insertions, 0 deletions