Skip to content

Commit

Permalink
[Encode] update mbpersec query 1 logic
Browse files Browse the repository at this point in the history
If the field is supported, function sets non-zero value to this field.
  • Loading branch information
bai-isaac authored and gfxVPLsdm committed Nov 25, 2024
1 parent 7277c25 commit 3a02c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _studio/mfx_lib/encode_hw/h264/src/mfx_h264_encode_hw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ mfxStatus ImplementationAvc::Query(
}
if (mfxExtEncoderCapability * extCap = GetExtBuffer(*out))
{
(void) extCap;
extCap->MBPerSec = 1;
MFX_CHECK(MFX_HW_VAAPI != core->GetVAType(), MFX_ERR_UNSUPPORTED);
}

Expand Down

0 comments on commit 3a02c6d

Please sign in to comment.