提交 ae29ec52 编写于 作者: J jp9000

rtmp-services: Fix memory leak

上级 aa0a6526
......@@ -493,6 +493,8 @@ static void apply_video_encoder_settings(obs_data_t *settings,
obs_data_set_string(settings, "profile", profile);
}
obs_data_item_release(&enc_item);
item = json_object_get(recommended, "max video bitrate");
if (json_is_integer(item)) {
int max_bitrate = (int)json_integer_value(item);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册