mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-28 02:06:12 -04:00
Restore compatibility with released Jansson versions
This commit is contained in:
@@ -239,7 +239,7 @@ static void apply_video_encoder_settings(obs_encoder_t encoder,
|
||||
|
||||
item = json_object_get(recommended, "cbr");
|
||||
if (item && json_is_boolean(item)) {
|
||||
bool cbr = json_boolean_value(item);
|
||||
bool cbr = json_is_true(item);
|
||||
obs_data_setbool(settings, "cbr", cbr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user