summaryrefslogtreecommitdiff
path: root/thirdparty/libvorbis/vorbis/codec.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-06-21 16:06:59 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-06-21 16:08:45 +0200
commitee07560abfb21af62a20da8b2fcbd0265c46a78c (patch)
tree9fd319bd3ac782bc4d9fe8df92dd3f42e9cb5c01 /thirdparty/libvorbis/vorbis/codec.h
parent34224d5ce55cd22ca8c627f79413f71f957af800 (diff)
Curve: Prevent forcing 1.0 min value to 0.99
The setters are called when the property is first initialized, and before that its default min and max are 0.0 and 1.0 respectively. If you configured min_value to 1.0 and max_value to e.g. 3.0, since the min_value setter can be called before that of max_value (which thus still defaults to 1.0), the min will be set to 0.99. Same conflict could happen with a configured max_value of 0 if its setter is called before that of a valid, negative min value.
Diffstat (limited to 'thirdparty/libvorbis/vorbis/codec.h')
0 files changed, 0 insertions, 0 deletions