Revert "obs-qsv: Enable b-pyramid & change packet priority"
This reverts commit 33ff46a10e
.
This is being reverted due to many people being unable to start up the
QSV encoder with these changes.
This commit is contained in:
@@ -267,9 +267,8 @@ bool QSV_Encoder_Internal::InitParams(qsv_param_t * pParams)
|
||||
m_co2.MBBRC = MFX_CODINGOPTION_ON;
|
||||
if (pParams->nRateControl == MFX_RATECONTROL_LA_ICQ ||
|
||||
pParams->nRateControl == MFX_RATECONTROL_LA)
|
||||
|
||||
m_co2.LookAheadDepth = pParams->nLADEPTH;
|
||||
if (pParams->nbFrames > 1)
|
||||
m_co2.BRefType = MFX_B_REF_PYRAMID;
|
||||
extendedBuffers[iBuffers++] = (mfxExtBuffer*)& m_co2;
|
||||
|
||||
if (iBuffers > 0) {
|
||||
|
Reference in New Issue
Block a user