mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +00:00
[bipred] Fix reference list writing with low-delay gop with bipred use-case
This commit is contained in:
parent
f0f77b9bfa
commit
44f4ce7063
|
@ -1198,7 +1198,7 @@ static void kvz_encoder_state_write_bitstream_ref_pic_list(
|
|||
int last_poc = 0;
|
||||
int poc_shift = 0;
|
||||
// We don't need to signal L1 list if it's copied from L0
|
||||
bool copy_rpl1_from_rpl0 = (encoder->cfg.gop_len == 0 && encoder->cfg.bipred);
|
||||
bool copy_rpl1_from_rpl0 = (encoder->cfg.gop_lowdelay || encoder->cfg.gop_len == 0) && encoder->cfg.bipred;
|
||||
|
||||
|
||||
for (int list = 0; list < 1 + copy_rpl1_from_rpl0; list++) {
|
||||
|
|
Loading…
Reference in a new issue