summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-07-15 03:10:51 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:05 +0200
commita05b847879dbb5d30bebf188562d16fa3e68ca70 (patch)
tree22699893455f4c66c7039f6482e843775090dece /wscript_build.py
parente1157cb6e8191f98b60813dc91342e3baf577d92 (diff)
downloadmpv-a05b847879dbb5d30bebf188562d16fa3e68ca70.tar.bz2
mpv-a05b847879dbb5d30bebf188562d16fa3e68ca70.tar.xz
command: make vf-metadata/af-metadata not query metadata twice
For simplicity, these properties usually query the metadata from the filter twice, even if it's not technically needed at all. The reason for this is mostly the horrible (and legacy) sub-path access (which is why tag_property() is so complex). But for simple cases, we can easily avoid double querying, so do that. The benefit is performance (well, won't matter), and supporting filters that reset information on query (for later).
Diffstat (limited to 'wscript_build.py')
0 files changed, 0 insertions, 0 deletions