mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-10 03:20:04 +08:00
[hal_h264e_vepu580]: Fix async segment type error
Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I7fa9354b5f906a3485e9102b2592600dda91bf56
This commit is contained in:
@@ -2130,8 +2130,7 @@ static MPP_RET hal_h264e_vepu580_wait(void *hal, HalEncTask *task)
|
||||
RK_U32 slice_last;
|
||||
MppPacket pkt = task->packet;
|
||||
RK_S32 offset = mpp_packet_get_length(pkt);
|
||||
H264NaluType type = ctx->slice->slice_type == H264_I_SLICE ?
|
||||
H264_NALU_TYPE_IDR : H264_NALU_TYPE_SLICE;
|
||||
H264NaluType type = task->rc_task->frm.is_idr ? H264_NALU_TYPE_IDR : H264_NALU_TYPE_SLICE;
|
||||
MppDevPollCfg *poll_cfg = (MppDevPollCfg *)((char *)ctx->poll_cfgs +
|
||||
task->flags.reg_idx * ctx->poll_cfg_size);
|
||||
param.task = task;
|
||||
|
Reference in New Issue
Block a user