obs-ffmpeg: Set max AMF consecutive bframes to 3 by default
The AMF documentation states that this value is recommended to be 3 if the bframe picture pattern property is a non-zero value.master
parent
e5a1ef91e3
commit
4c3e671819
|
@ -1152,7 +1152,7 @@ static bool amf_avc_init(void *data, obs_data_t *settings)
|
|||
check_preset_compatibility(enc, preset);
|
||||
|
||||
if (enc->bframes_supported) {
|
||||
set_avc_property(enc, MAX_CONSECUTIVE_BPICTURES, bf);
|
||||
set_avc_property(enc, MAX_CONSECUTIVE_BPICTURES, 3);
|
||||
set_avc_property(enc, B_PIC_PATTERN, bf);
|
||||
|
||||
} else if (bf != 0) {
|
||||
|
|
Loading…
Reference in New Issue