Skip to content

Commit 3245d31

Browse files
[RT Common] Disable checking LUID in SetHandle function (#6530)
In miracast wireless display adapter isn't determined during MFT Init (where MFX session is created), so can't judge whether the device handle is valid or not. Co-authored-by: Yuan, Jenny <[email protected]>
1 parent 0aa97d7 commit 3245d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_studio/mfx_lib/shared/src/libmfxsw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ mfxStatus MFX_CDECL MFXInitialize(mfxInitializationParam param, mfxSession* sess
389389

390390
// VendorImplID is used as adapterNum in current implementation - see MFXQueryImplsDescription
391391
// app. supposed just to copy VendorImplID from mfxImplDescription (returned by MFXQueryImplsDescription) to mfxInitializationParam
392-
mfxRes = MFXInit_Internal(par, session, par.Implementation, param.VendorImplID, isSingleThreadMode, true);
392+
mfxRes = MFXInit_Internal(par, session, par.Implementation, param.VendorImplID, isSingleThreadMode);
393393

394394
TRACE_EVENT(MFX_TRACE_API_MFXINITIALIZE_TASK, EVENT_TYPE_END, TR_KEY_MFX_API, make_event_data(par.Implementation, isSingleThreadMode));
395395
MFX_LTRACE_I(MFX_TRACE_LEVEL_API, mfxRes);

0 commit comments

Comments
 (0)