UI: Increment bitrates by 50
This commit is contained in:
parent
dd68493590
commit
1160ee767a
@ -462,6 +462,9 @@ OBSBasicSettings::OBSBasicSettings(QWidget *parent)
|
||||
HookWidget(ui->disableFocusHotkeys, CHECK_CHANGED, ADV_CHANGED);
|
||||
HookWidget(ui->autoRemux, CHECK_CHANGED, ADV_CHANGED);
|
||||
|
||||
ui->simpleOutputVBitrate->setSingleStep(50);
|
||||
ui->advOutFFVBitrate->setSingleStep(50);
|
||||
|
||||
#if !defined(_WIN32) && !defined(__APPLE__)
|
||||
delete ui->enableAutoUpdates;
|
||||
ui->enableAutoUpdates = nullptr;
|
||||
|
@ -874,14 +874,14 @@ static obs_properties_t *vt_h264_properties(void *unused)
|
||||
obs_properties_t *props = obs_properties_create();
|
||||
obs_property_t *p;
|
||||
|
||||
obs_properties_add_int(props, "bitrate", TEXT_BITRATE, 50, 10000000, 1);
|
||||
obs_properties_add_int(props, "bitrate", TEXT_BITRATE, 50, 10000000, 50);
|
||||
|
||||
p = obs_properties_add_bool(props, "limit_bitrate",
|
||||
TEXT_USE_MAX_BITRATE);
|
||||
obs_property_set_modified_callback(p, limit_bitrate_modified);
|
||||
|
||||
obs_properties_add_int(props, "max_bitrate", TEXT_MAX_BITRATE, 50,
|
||||
10000000, 1);
|
||||
10000000, 50);
|
||||
obs_properties_add_float(props, "max_bitrate_window",
|
||||
TEXT_MAX_BITRATE_WINDOW, 0.10f, 10.0f, 0.25f);
|
||||
|
||||
|
@ -261,9 +261,9 @@ static obs_properties_t *obs_qsv_props(void *unused)
|
||||
obs_property_set_modified_callback(list, rate_control_modified);
|
||||
|
||||
obs_properties_add_int(props, "bitrate", TEXT_TARGET_BITRATE, 50,
|
||||
10000000, 1);
|
||||
10000000, 50);
|
||||
obs_properties_add_int(props, "max_bitrate", TEXT_MAX_BITRATE, 50,
|
||||
10000000, 1);
|
||||
10000000, 50);
|
||||
obs_properties_add_int(props, "accuracy", TEXT_ACCURACY, 0, 10000, 1);
|
||||
obs_properties_add_int(props, "convergence", TEXT_CONVERGENCE, 0, 10, 1);
|
||||
obs_properties_add_int(props, "qpi", "QPI", 1, 51, 1);
|
||||
|
@ -179,7 +179,7 @@ static obs_properties_t *obs_x264_props(void *unused)
|
||||
|
||||
obs_property_set_modified_callback(list, rate_control_modified);
|
||||
|
||||
obs_properties_add_int(props, "bitrate", TEXT_BITRATE, 50, 10000000, 1);
|
||||
obs_properties_add_int(props, "bitrate", TEXT_BITRATE, 50, 10000000, 50);
|
||||
|
||||
p = obs_properties_add_bool(props, "use_bufsize", TEXT_CUSTOM_BUF);
|
||||
obs_property_set_modified_callback(p, use_bufsize_modified);
|
||||
|
Loading…
x
Reference in New Issue
Block a user