Commit 0b589e22 authored by Artem Shaporenko's avatar Artem Shaporenko Committed by Vitaliy Ilichev

Silently Disable MFE for VDEnc

Fixes #1010

Signed-off-by: Artem Shaporenko artem.shaporenko@intel.com
parent 42923917
......@@ -4718,6 +4718,12 @@ mfxStatus MfxHwH264Encode::CheckVideoParamQueryLike(
mfeParam.MFMode = MFX_MF_AUTO;
changed = true;
}
if (mfeParam.MaxNumFrames > 1 && par.mfx.LowPower == MFX_CODINGOPTION_ON)
{
mfeParam.MaxNumFrames = 1;
mfeParam.MFMode = MFX_MF_DEFAULT;
changed = true;
}
mfxExtMultiFrameControl & mfeControl = GetExtBufferRef(par);
if (mfeControl.Timeout && mfeParam.MFMode != MFX_MF_AUTO)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment