diff options
author | wm4 <wm4@nowhere> | 2019-12-18 06:00:37 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-12-18 06:03:39 +0100 |
commit | 8bdedf9062074f03b13820487fccc892105eb472 (patch) | |
tree | 8a5efd7ebd78994d4085865fe2663949988eadcb /waftools/waf_customizations.py | |
parent | d3e3bd43074ddd8f4c8829a7454b9f855454f462 (diff) | |
download | mpv-8bdedf9062074f03b13820487fccc892105eb472.tar.bz2 mpv-8bdedf9062074f03b13820487fccc892105eb472.tar.xz |
options: make keys in key/value lists unique
I don't even know anymore whether this was intended or not. Certain use
cases for the "-o" options might require this. These options are for
passing general FFmpeg options. These are translated to av_opt_set()
calls, which may or may not accumulate the option values on multiple
calls with the same option name (how should I know?).
Anyway, it seems crazy to allow non-unique keys, so make them unique.
The ad-hoc nature of the option code makes this wonderfully complicated
(when I wrote that this code is cursed, I meant it). In combination with
lazy testing, it probably means there are lots of bugs here.
Diffstat (limited to 'waftools/waf_customizations.py')
0 files changed, 0 insertions, 0 deletions