UI: Fix custom buffer size for simple output

The buffer size was being saved as 'VBufsize' while all read operations
tried to read 'Bufsize'
master
Palana 2015-04-04 22:14:37 +02:00
parent 54535753ee
commit 70b2ffeee7
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ void SimpleOutput::Update()
int videoBitrate = config_get_uint(main->Config(), "SimpleOutput", int videoBitrate = config_get_uint(main->Config(), "SimpleOutput",
"VBitrate"); "VBitrate");
int videoBufsize = config_get_uint(main->Config(), "SimpleOutput", int videoBufsize = config_get_uint(main->Config(), "SimpleOutput",
"Bufsize"); "VBufsize");
int audioBitrate = config_get_uint(main->Config(), "SimpleOutput", int audioBitrate = config_get_uint(main->Config(), "SimpleOutput",
"ABitrate"); "ABitrate");
bool advanced = config_get_bool(main->Config(), "SimpleOutput", bool advanced = config_get_bool(main->Config(), "SimpleOutput",

View File

@ -829,7 +829,7 @@ void OBSBasicSettings::LoadSimpleOutputSettings()
int videoBitrate = config_get_uint(main->Config(), "SimpleOutput", int videoBitrate = config_get_uint(main->Config(), "SimpleOutput",
"VBitrate"); "VBitrate");
int videoBufsize = config_get_uint(main->Config(), "SimpleOutput", int videoBufsize = config_get_uint(main->Config(), "SimpleOutput",
"Bufsize"); "VBufsize");
int audioBitrate = config_get_uint(main->Config(), "SimpleOutput", int audioBitrate = config_get_uint(main->Config(), "SimpleOutput",
"ABitrate"); "ABitrate");
bool reconnect = config_get_bool(main->Config(), "SimpleOutput", bool reconnect = config_get_bool(main->Config(), "SimpleOutput",