diff options
author | wm4 <wm4@nowhere> | 2019-12-16 01:52:52 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-12-16 01:52:52 +0100 |
commit | de0f9b9f2d12f59e31220cf26e3a258e126987c7 (patch) | |
tree | 8abca9e308026a3ed20e926b4d9f739b91449ad9 /ci/get_ffmpeg.sh | |
parent | aa5f234b439f69c66e66fa033f443edc3055f185 (diff) | |
download | mpv-de0f9b9f2d12f59e31220cf26e3a258e126987c7.tar.bz2 mpv-de0f9b9f2d12f59e31220cf26e3a258e126987c7.tar.xz |
m_option: clamp integer before adding a value
This is for the previous commit, and should affect behavior with the
special M_PROPERTY_GET_CONSTRICTED_TYPE mechanism only. The effect is
that cycling the "edition" property, if the option is set to "auto",
will change to the second edition instead of the first.
Normally, option values must always be within their range, so this
should not affect anything else. M_PROPERTY_GET_CONSTRICTED_TYPE is
sort-of fine with this kind of behavior.
If this affects any other M_PROPERTY_GET_CONSTRICTED_TYPE users
neqatively, I will revert the change.
Diffstat (limited to 'ci/get_ffmpeg.sh')
0 files changed, 0 insertions, 0 deletions