aboutsummaryrefslogtreecommitdiffstats
path: root/psb/psb.cpp
diff options
context:
space:
mode:
authorLiu, Shuo <shuo.liu@intel.com>2011-02-18 11:41:55 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:42 -0700
commitb8eda0b99e7f867550c53475dce606bbea97ff76 (patch)
treee9a9b9fe7039ac116bfb43f864fff9456ca542a8 /psb/psb.cpp
parent890862985914283b601eb2de93741f6eb2c44f5c (diff)
downloadandroid_hardware_intel_common_omx-components-b8eda0b99e7f867550c53475dce606bbea97ff76.tar.gz
android_hardware_intel_common_omx-components-b8eda0b99e7f867550c53475dce606bbea97ff76.tar.bz2
android_hardware_intel_common_omx-components-b8eda0b99e7f867550c53475dce606bbea97ff76.zip
Add COMPONENT_SUPPORT_OPNECORE flag to enable backward compatibility of Froyo for debug
Change-Id: I06f6d617aba340def4dffce504bc2218d8e6c5ff Signed-off-by: Liu, Shuo <shuo.liu@intel.com>
Diffstat (limited to 'psb/psb.cpp')
-rw-r--r--psb/psb.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/psb/psb.cpp b/psb/psb.cpp
index 03409fd..121c15f 100644
--- a/psb/psb.cpp
+++ b/psb/psb.cpp
@@ -38,7 +38,10 @@
#include <portvideo.h>
#include <componentbase.h>
-//#include <pv_omxcore.h>
+#ifdef COMPONENT_SUPPORT_OPENCORE
+#include <pv_omxcore.h>
+#include <pv_omxdefs.h>
+#endif
#include <gthread.h>
#include <glib.h>
@@ -876,7 +879,7 @@ OMX_ERRORTYPE MrstPsbComponent::ComponentGetParameter(
memcpy(p, port->GetPortPrivateInfoParam(), sizeof(*p));
break;
}
-#if 0
+#ifdef COMPONENT_SUPPORT_OPENCORE
/* PVOpenCore */
case (OMX_INDEXTYPE) PV_OMX_COMPONENT_CAPABILITY_TYPE_INDEX: {
PV_OMXComponentCapabilityFlagsType *p =