diff --git a/media_softlet/agnostic/common/codec/hal/enc/av1/packet/encode_av1_brc_update_packet.cpp b/media_softlet/agnostic/common/codec/hal/enc/av1/packet/encode_av1_brc_update_packet.cpp index bb837e20e89..f4fcfb96ca9 100644 --- a/media_softlet/agnostic/common/codec/hal/enc/av1/packet/encode_av1_brc_update_packet.cpp +++ b/media_softlet/agnostic/common/codec/hal/enc/av1/packet/encode_av1_brc_update_packet.cpp @@ -360,12 +360,12 @@ namespace encode #if _MEDIA_RESERVED RUN_FEATURE_INTERFACE_RETURN(Av1Scc, Av1FeatureIDs::av1Scc, UpdateIBCStatusForCurrentTile); #endif - if (firstTileInGroup) + if (tileRow == 0 && tileCol == 0) { SETPAR_AND_ADDCMD(AVP_PIC_STATE, m_avpItf, &cmdBuffer); ENCODE_CHK_STATUS_RETURN(AddBBEnd(m_miItf, cmdBuffer)); } - else + if (!firstTileInGroup) { slbData.avpPicStateCmdNum = 2; slbData.secondAvpPicStateOffset = (uint16_t)cmdBuffer.iOffset;