From daa308f81c8c114f06b93b834313db9acd3f71e0 Mon Sep 17 00:00:00 2001 From: James Bowley Date: Mon, 10 Jun 2019 17:42:37 +0100 Subject: [PATCH] Update obsolete flag in Intel video decoder. Old flag resulted in software implementation being selected when the Intel decoder is not the primary adapter. --- modules/videoio/src/cap_mfx_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/videoio/src/cap_mfx_common.cpp b/modules/videoio/src/cap_mfx_common.cpp index 705d180687..55c2450b80 100644 --- a/modules/videoio/src/cap_mfx_common.cpp +++ b/modules/videoio/src/cap_mfx_common.cpp @@ -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);