Fix bug where x264 buffer size was always 1000

master
jp9000 2014-07-13 02:59:34 -07:00
parent 322f148c9c
commit f3285e2cfa
1 changed files with 1 additions and 0 deletions

View File

@ -1753,6 +1753,7 @@ void OBSBasic::SetupEncoders()
"ABitrate");
obs_data_setint(x264Settings, "bitrate", videoBitrate);
obs_data_setint(x264Settings, "buffer_size", videoBitrate);
obs_data_setbool(x264Settings, "cbr", true);
obs_data_setint(aacSettings, "bitrate", audioBitrate);