Update obsolete flag in Intel video decoder.

Old flag resulted in software implementation being selected when the Intel decoder is not the primary adapter.
This commit is contained in:
James Bowley 2019-06-10 17:42:37 +01:00
parent 8fd87033ef
commit daa308f81c

View File

@ -17,7 +17,7 @@ using namespace cv;
bool DeviceHandler::init(MFXVideoSession &session)
{
mfxStatus res = MFX_ERR_NONE;
mfxIMPL impl = MFX_IMPL_AUTO;
mfxIMPL impl = MFX_IMPL_AUTO_ANY;
mfxVersion ver = { {19, 1} };
res = session.Init(impl, &ver);