mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
rtmp-services: Allow services to override bframe count
This commit is contained in:
@@ -387,6 +387,10 @@ static void apply_video_encoder_settings(obs_data_t *settings,
|
||||
}
|
||||
}
|
||||
|
||||
item = json_object_get(recommended, "bframes");
|
||||
if (item && json_is_integer(item))
|
||||
obs_data_set_int(settings, "bf", 0);
|
||||
|
||||
item = json_object_get(recommended, "x264opts");
|
||||
if (item && json_is_string(item)) {
|
||||
const char *x264_settings = json_string_value(item);
|
||||
|
||||
Reference in New Issue
Block a user