avcenc: Fix recon dump for last frame

Last recon frame wasn't being saved in some cases, it is now fixed.

Bug: 242104774
Test: avcenc -c enc.cfg

Change-Id: I50fcd6709988b7126a36cc88d8abdb75e871a37a
This commit is contained in:
Harish Mahendrakar 2021-07-23 22:55:12 -07:00
parent 2187495400
commit ba6f646849

View file

@ -796,11 +796,5 @@ WORD32 ih264e_encode(iv_obj_t *ps_codec_obj, void *pv_api_ip, void *pv_api_op)
ps_video_encode_op->s_ive_op.s_out_buf = s_out_buf.s_bits_buf;
if (1 == s_inp_buf.u4_is_last)
{
ps_video_encode_op->s_ive_op.output_present = 0;
ps_video_encode_op->s_ive_op.dump_recon = 0;
}
return IV_SUCCESS;
}