Enable ISV OMX core.
Use ISV OMX core that will load the other OMX cores to make ISV work.
Bug: 17383204
BZ: 227971
Change-Id: If14427edc974bdf1671877db43274dc0af53e0e6
Signed-off-by: Jason Hu <jason.hu@intel.com>
diff --git a/WrsOMXPlugin.cpp b/WrsOMXPlugin.cpp
index f9c62e2..ee76ffe 100644
--- a/WrsOMXPlugin.cpp
+++ b/WrsOMXPlugin.cpp
@@ -45,10 +45,14 @@
WrsOMXPlugin::WrsOMXPlugin()
{
+#ifdef TARGET_HAS_ISV
+ AddCore("libisv_omx_core.so");
+#else
AddCore("libwrs_omxil_core_pvwrapped.so");
#if defined(USE_MEDIASDK)
AddCore("libmfx_omx_core.so");
#endif
+#endif
}
OMX_ERRORTYPE WrsOMXPlugin::AddCore(const char* coreName)