1 --- a/libvpl/src/mfx_dispatcher_vpl_loader.cpp
2 +++ b/libvpl/src/mfx_dispatcher_vpl_loader.cpp
3 @@ -548,6 +548,16 @@ mfxStatus LoaderCtxVPL::BuildListOfCandidateLibs() {
8 + searchDirList.clear();
9 + searchDirList.push_back("@driverLink@/lib");
10 + it = searchDirList.begin();
11 + while (it != searchDirList.end()) {
12 + STRING_TYPE nextDir = (*it);
13 + sts = SearchDirForLibs(nextDir, m_libInfoList, LIB_PRIORITY_05);
17 // lowest priority: legacy MSDK installation
18 searchDirList.clear();
19 GetSearchPathsLegacy(searchDirList);