mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
obs-qsv11: Fix InitParams low power fallback
This commit is contained in:
committed by
Ryan Foster
parent
45e7334206
commit
4d3f9323b5
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user