obs-x264: Set bitrate/bufsize max to 10 mil.

The max bitrate for the property was 100000 before, which felt a bit
low.  Might as well have a super high upper limit of 10 million.
This commit is contained in:
jp9000
2015-02-01 03:51:05 -08:00
parent 6682f79d4a
commit 0aec530e23

View File

@@ -148,12 +148,12 @@ static obs_properties_t *obs_x264_props(void *unused)
obs_property_t *list;
obs_property_t *p;
obs_properties_add_int(props, "bitrate", TEXT_BITRATE, 50, 100000, 1);
obs_properties_add_int(props, "bitrate", TEXT_BITRATE, 50, 10000000, 1);
p = obs_properties_add_bool(props, "use_bufsize", TEXT_CUSTOM_BUF);
obs_property_set_modified_callback(p, use_bufsize_modified);
obs_properties_add_int(props, "buffer_size", TEXT_BUF_SIZE, 50, 100000,
1);
obs_properties_add_int(props, "buffer_size", TEXT_BUF_SIZE, 50,
10000000, 1);
obs_properties_add_int(props, "keyint_sec", TEXT_KEYINT_SEC, 0, 20, 1);
p = obs_properties_add_bool(props, "cbr", TEXT_USE_CBR);