mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-11-03 09:40:50 +08:00
[mpp_enc_v2]: Check resend_hdr must request IDR
Change-Id: Ibaaa408eae165ba99c0a4b61a1f207e393c7f645 Signed-off-by: sayon.chen <sayon.chen@rock-chips.com>
This commit is contained in:
@@ -473,8 +473,10 @@ static void mpp_enc_proc_cfg(MppEncImpl *enc)
|
||||
} break;
|
||||
}
|
||||
|
||||
if (check_resend_hdr(enc->cmd, enc->param, &enc->cfg))
|
||||
if (check_resend_hdr(enc->cmd, enc->param, &enc->cfg)) {
|
||||
enc->frm_cfg.force_flag |= ENC_FORCE_IDR;
|
||||
enc->hdr_status.val = 0;
|
||||
}
|
||||
if (check_rc_cfg_update(enc->cmd, &enc->cfg))
|
||||
enc->rc_status.rc_api_user_cfg = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user