提交 721d91ff 编写于 作者: J jp9000

UI: Fix audio bitrate unlock if bitrate enforcing off

Fixes a bug where audio bitrate would not be unlocked if maximum bitrate
enforcement is disabled.
上级 59207785
......@@ -317,8 +317,10 @@ void SimpleOutput::Update()
obs_service_apply_encoder_settings(main->GetService(),
h264Settings, aacSettings);
if (advanced && !enforceBitrate)
if (advanced && !enforceBitrate) {
obs_data_set_int(h264Settings, "bitrate", videoBitrate);
obs_data_set_int(aacSettings, "bitrate", audioBitrate);
}
video_t *video = obs_get_video();
enum video_format format = video_output_get_format(video);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册