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)
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.