From 2a5d33d100bdd2ec6aadb5bb2ada3cefb518b96c Mon Sep 17 00:00:00 2001 From: "Chen, Tianmi" Date: Wed, 26 May 2021 14:56:22 +0800 Subject: [PATCH] Revert "Add property vendor.intel.video.codec and don't" This reverts commit af5e763c7d6fb88fb275dbd21b1a36e428e1e64f. --- WrsOMXPlugin.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/WrsOMXPlugin.cpp b/WrsOMXPlugin.cpp index be88496..81e126c 100644 --- a/WrsOMXPlugin.cpp +++ b/WrsOMXPlugin.cpp @@ -37,7 +37,7 @@ #include "WrsOMXPlugin.h" #include -#include + #include #include @@ -70,15 +70,6 @@ OMX_ERRORTYPE WrsOMXPlugin::AddCore(const char* coreName) { void* libHandle = dlopen(coreName, RTLD_NOW); - char szVendorIntelVideoCodec[PROPERTY_VALUE_MAX] = {'\0'}; - - if(property_get("vendor.intel.video.codec", szVendorIntelVideoCodec, NULL) > 0 ) { - if (strncmp(szVendorIntelVideoCodec, "software", PROPERTY_VALUE_MAX) == 0 ) { - ALOGI("OMX IL core Property vendor.intel.video.codec is %s and will not load hardware codec plugin", szVendorIntelVideoCodec); - return OMX_ErrorNone; - } - } - if (libHandle != NULL) { WrsOMXCore* core = (WrsOMXCore*)calloc(1,sizeof(WrsOMXCore));