mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[rk_mpi_cmd]: Add max_reenc_cnt for reencode flow
When max_reenc_cnt is zero the reencode flow is disabled. Change-Id: Iba600b37bb5ab6e4f720b652d59abfae36f9e52f Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -594,7 +594,7 @@ static MPP_RET mpi_rc_codec(MpiRcTestCtx *ctx)
|
||||
rc_cfg->fps_in_flex = 0;
|
||||
rc_cfg->fps_out_flex = 0;
|
||||
rc_cfg->gop = fps;
|
||||
rc_cfg->skip_cnt = 0;
|
||||
rc_cfg->max_reenc_times = 1;
|
||||
|
||||
ret = enc_mpi->control(enc_ctx, MPP_ENC_SET_RC_CFG, rc_cfg);
|
||||
if (ret) {
|
||||
|
Reference in New Issue
Block a user