From 0aec530e23f487f0de6e025d983c79b6a53d3952 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sun, 1 Feb 2015 03:51:05 -0800 Subject: [PATCH] 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. --- plugins/obs-x264/obs-x264.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/obs-x264/obs-x264.c b/plugins/obs-x264/obs-x264.c index b3133a12b..80b52c6dc 100644 --- a/plugins/obs-x264/obs-x264.c +++ b/plugins/obs-x264/obs-x264.c @@ -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);