Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.

Bug in IMSDK samples

OTorg
New Contributor III
139 Views

line at current sample_encode\src\pipeline_encode.cpp:
[plain]initPar.Implementation = (initPar.Implementation & !MFX_IMPL_HARDWARE_ANY) | MFX_IMPL_HARDWARE;[/plain]

should be replaced by:
[plain]initPar.Implementation = (initPar.Implementation & ~MFX_IMPL_HARDWARE_ANY) | MFX_IMPL_HARDWARE;[/plain]

(binary NOT confused with logical NOT)

0 Kudos
1 Solution
Mark_L_Intel1
Moderator
139 Views

Thanks, I will post a bug to the dev team.

Mark

View solution in original post

3 Replies
Mark_L_Intel1
Moderator
139 Views

Hi dj_alek,

Thanks for checking the sample code. Can you also confirm if the sample can run correctly after your suggested code change? I will report the bug once you confirmed.

Mark

OTorg
New Contributor III
139 Views

Yes, the sample runs correctly.

PS:
This is such an obvious mistake that it doesn't even need to be checked:)

Mark_L_Intel1
Moderator
140 Views

Thanks, I will post a bug to the dev team.

Mark

Reply