mirror of
https://github.com/mpv-player/mpv
synced 2025-03-20 02:09:52 +00:00
Add a "choice" option type. Options of this type take a string as input and set an int option variable to the value corresponding to the string. The string->int mapping is option-specific and is given in the option definition. Strings not found in the mapping are rejected as invalid option values. Change the option -pts-association-mode to use this new option type and accept values "auto, decoder, sort" instead of "0, 1, 2". The change in accepted values shouldn't cause problems as this option is not appropriate to use in normal user config files. |
||
---|---|---|
.. | ||
cs | ||
de | ||
en | ||
es | ||
fr | ||
hu | ||
it | ||
pl | ||
ru | ||
zh_CN |