Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Commit

Permalink
[AVCe] Fix for Paff SingleFieldMode
Browse files Browse the repository at this point in the history
Signed-off-by: Kelvin Hu <[email protected]>
  • Loading branch information
bsanchezR authored and Oleg Nabiullin committed Nov 14, 2018
1 parent 8945928 commit 3d2a928
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _studio/mfx_lib/encode_hw/h264/src/mfx_h264_encode_hw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2688,7 +2688,8 @@ mfxStatus ImplementationAvc::AsyncRoutine(mfxBitstream * bs)
}
}

task->m_singleFieldMode = IsOn(extFeiParams->SingleFieldProcessing);
// In case of progressive frames in PAFF mode need to switch the flag off to prevent m_fieldCounter changes
task->m_singleFieldMode = (task->m_fieldPicFlag != 0) && IsOn(extFeiParams->SingleFieldProcessing);


for (mfxU32 f = 0; f <= task->m_fieldPicFlag; f++)
Expand Down

0 comments on commit 3d2a928

Please sign in to comment.