obs-qsv11: Fix InitParams low power fallback

This commit is contained in:
Kurt Kartaltepe
2023-08-16 15:40:02 -04:00
committed by Ryan Foster
parent 45e7334206
commit 4d3f9323b5
+1 -3
View File
@@ -195,9 +195,7 @@ mfxStatus QSV_Encoder_Internal::Open(qsv_param_t *pParams, enum qsv_codec codec)
m_pmfxENC = new MFXVideoENCODE(m_session);
sts = InitParams(pParams, codec);
MSDK_CHECK_RESULT(sts, MFX_ERR_NONE, sts);
InitParams(pParams, codec);
sts = m_pmfxENC->Query(&m_mfxEncParams, &m_mfxEncParams);
MSDK_IGNORE_MFX_STS(sts, MFX_WRN_INCOMPATIBLE_VIDEO_PARAM);
MSDK_CHECK_RESULT(sts, MFX_ERR_NONE, sts);