mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-15 13:06:27 -04:00
If a source is created with settings, default values would not be set on data items that already had values set. The check here was supposed to be a not equal rather than an equal because you're not supposed to be able to set a default value of one type on an item that already exists but is of a different type. This bug would make it so that if a particular setting was removed, there would be no default value to fall back on, and it would always be 0 or NULL for all values. It's likely this bug wasn't encountered until now because before now there had been no reason to clear or remove settings on most things.
53 KiB
53 KiB