Skip to content

Commit

Permalink
Fix regression of IDR insertion failure. (#426)
Browse files Browse the repository at this point in the history
Remove the assignment of craFlag/idrFlag which over write the value from previous kernel.

Signed-off-by: Austin Hu <austin.hu@intel.com>
  • Loading branch information
Austin-Hu authored and tianjunwork committed Nov 21, 2019
1 parent 9276bb7 commit 364dcbb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Source/Lib/Codec/EbPictureDecisionProcess.c
Original file line number Diff line number Diff line change
Expand Up @@ -738,9 +738,6 @@ void* PictureDecisionKernel(void *inputPtr)
ReleasePrevPictureFromReorderQueue(
encodeContextPtr);

pictureControlSetPtr->craFlag = EB_FALSE;
pictureControlSetPtr->idrFlag = EB_FALSE;

// If the Intra period length is 0, then introduce an intra for every picture
if ((sequenceControlSetPtr->intraPeriodLength == 0) || (pictureControlSetPtr->pictureNumber == 0)) {
if (sequenceControlSetPtr->intraRefreshType == CRA_REFRESH)
Expand Down

0 comments on commit 364dcbb

Please sign in to comment.