mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
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:
parent
8fd87033ef
commit
daa308f81c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user