Skip to content

Commit

Permalink
Change framerate to 1000fps limits aligned with HEVC
Browse files Browse the repository at this point in the history
  • Loading branch information
kangbint authored and gfxVPLsdm committed May 28, 2024
1 parent 496a9da commit f2f4a7e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3324,9 +3324,9 @@ mfxStatus General::CheckFrameRate(mfxVideoParam & par)
{
auto& fi = par.mfx.FrameInfo;

if (fi.FrameRateExtN && fi.FrameRateExtD) // FR <= 300
if (fi.FrameRateExtN && fi.FrameRateExtD) // FR <= 1000
{
if (fi.FrameRateExtN > mfxU32(300 * fi.FrameRateExtD))
if (fi.FrameRateExtN > mfxU32(1000 * fi.FrameRateExtD))
{
fi.FrameRateExtN = fi.FrameRateExtD = 0;
MFX_RETURN(MFX_ERR_UNSUPPORTED);
Expand Down

0 comments on commit f2f4a7e

Please sign in to comment.