mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-29 02:03:03 +08:00
7decef8ab0
`get_rc_mode()` compares the incoming rate control mode string to the .name member of rc_mode_t, and the table entries are all upper-case. This caused a crash when the incoming string is set to "cbr" instead of "CBR". Make the string comparison case insensitive.