Browse Source

Restore compatibility with released Jansson versions

Palana 11 years ago
parent
commit
6654473fa0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/rtmp-services/rtmp-common.c

+ 1 - 1
plugins/rtmp-services/rtmp-common.c

@@ -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);
 	}