Community
cancel
Showing results for 
Search instead for 
Did you mean: 
OTorg
New Contributor II
72 Views

Bug in IMSDK samples

Jump to solution

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
72 Views

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

Mark

View solution in original post

3 Replies
Mark_L_Intel1
Moderator
72 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 II
72 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
73 Views

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

Mark

View solution in original post

Reply