mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
Fix issue with gop=0 introduced in 1c36f68d0c
This commit is contained in:
parent
c853aac0fb
commit
977e885ea2
|
@ -807,6 +807,7 @@ static void encoder_state_encode_leaf(encoder_state_t * const state)
|
|||
// gop length. Takes care of that.
|
||||
if(!state->encoder_control->cfg.gop_lowdelay &&
|
||||
state->encoder_control->cfg.open_gop &&
|
||||
state->encoder_control->cfg.gop_len != 0 &&
|
||||
state->encoder_control->cfg.owf > state->encoder_control->cfg.gop_len &&
|
||||
ref_state->frame->slicetype == KVZ_SLICE_I &&
|
||||
ref_state->frame->num != 0){
|
||||
|
|
Loading…
Reference in a new issue