Skip to content

Commit

Permalink
[Encode] Algin av1 timer set with other codecs
Browse files Browse the repository at this point in the history
This could fix media reset issues for av1.
  • Loading branch information
leyu-yao authored and intel-mediadev committed Jul 31, 2023
1 parent 48c1c38 commit 52903a7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ namespace encode {
{
ENCODE_FUNC_CALL();

ENCODE_CHK_STATUS_RETURN(m_miItf->SetWatchdogTimerThreshold(m_basicFeature->m_frameWidth, m_basicFeature->m_frameHeight, true));

bool firstTaskInPhase = packetPhase & firstPacket;
bool requestProlog = false;
auto brcFeature = dynamic_cast<Av1Brc*>(m_featureManager->GetFeature(Av1FeatureIDs::av1BrcFeature));
Expand Down

0 comments on commit 52903a7

Please sign in to comment.