Skip to content

Commit 7f94906

Browse files
thyintelRytoEX
authored andcommitted
obs-qsv11: Fix CBR Spike for Battlemage
1 parent b64f549 commit 7f94906

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/obs-qsv11/QSV_Encoder_Internal.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ PRAGMA_WARN_PUSH
170170
PRAGMA_WARN_DEPRECATION
171171
static inline bool HasOptimizedBRCSupport(const mfxPlatform &platform, const mfxVersion &version, mfxU16 rateControl)
172172
{
173-
#if (MFX_VERSION_MAJOR >= 2 && MFX_VERSION_MINOR >= 12) || MFX_VERSION_MAJOR > 2
174-
if ((version.Major >= 2 && version.Minor >= 12) || version.Major > 2)
173+
#if (MFX_VERSION_MAJOR >= 2 && MFX_VERSION_MINOR >= 13) || MFX_VERSION_MAJOR > 2
174+
if ((version.Major >= 2 && version.Minor >= 13) || version.Major > 2)
175175
if (rateControl == MFX_RATECONTROL_CBR &&
176-
(platform.CodeName >= MFX_PLATFORM_LUNARLAKE && platform.CodeName != MFX_PLATFORM_ALDERLAKE_N))
176+
(platform.CodeName >= MFX_PLATFORM_BATTLEMAGE && platform.CodeName != MFX_PLATFORM_ALDERLAKE_N))
177177
return true;
178178
#endif
179179
UNUSED_PARAMETER(platform);

0 commit comments

Comments
 (0)