1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

highgui: cleanup and fixes

This commit is contained in:
Alexander Alekhin
2021-05-28 01:41:20 +00:00
parent 76e81dfbb0
commit fb9a00c36d
5 changed files with 29 additions and 23 deletions
+2 -1
View File
@@ -40,7 +40,8 @@ protected:
CV_LOG_INFO(NULL, "UI: plugin is incompatible (can't be initialized): " << lib_->getName());
return;
}
if (!checkCompatibility(plugin_api_->api_header, ABI_VERSION, API_VERSION, false))
// NB: force strict minor version check (ABI is not preserved for now)
if (!checkCompatibility(plugin_api_->api_header, ABI_VERSION, API_VERSION, true))
{
plugin_api_ = NULL;
return;