Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Commit

Permalink
[mfx_dispatch] Fix the last plugin in plugins.cfg not being parsed
Browse files Browse the repository at this point in the history
  • Loading branch information
vshampor authored and dmitryermilov committed Oct 19, 2018
1 parent 7afa866 commit 97d18a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/mfx_dispatch/linux/mfxparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ void parse(const char* file_name, std::list<PluginInfo>& plugins)
}
}
}

if (plg.isValid()) {
plugins.push_back(std::move(plg));
}

fclose(file);

//print(plugins); // for debug
Expand Down

0 comments on commit 97d18a0

Please sign in to comment.