summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-03-31 06:17:40 -0700
committerSteve Kondik <shade@chemlab.org>2013-03-31 06:17:40 -0700
commit68f95bd5d452f0d8fd23da294a6807b6cc96e13e (patch)
tree3d4cedae74ad0c62703ff9ce688a0bfad4aab4eb
parenta58dea51aab3de44772ab38209ca6651a3030a26 (diff)
downloadandroid_hardware_qcom_media-68f95bd5d452f0d8fd23da294a6807b6cc96e13e.tar.gz
android_hardware_qcom_media-68f95bd5d452f0d8fd23da294a6807b6cc96e13e.tar.bz2
android_hardware_qcom_media-68f95bd5d452f0d8fd23da294a6807b6cc96e13e.zip
Tiny fixes for building on vanilla display driver.
Change-Id: I825212305a6dd2c800afcc0bb9ff19070d757f33
-rw-r--r--dashplayer/DashCodec.cpp2
-rw-r--r--mm-video/vidc/vdec/Android.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/dashplayer/DashCodec.cpp b/dashplayer/DashCodec.cpp
index 0d7f67a3..d8f23b83 100644
--- a/dashplayer/DashCodec.cpp
+++ b/dashplayer/DashCodec.cpp
@@ -2144,6 +2144,7 @@ void DashCodec::sendFormatChange() {
CHECK_LE(rect.nLeft + rect.nWidth - 1, videoDef->nFrameWidth);
CHECK_LE(rect.nTop + rect.nHeight - 1, videoDef->nFrameHeight);
+#ifdef QCOM_BSP
if( mSmoothStreaming ) {
//call Update buffer geometry here
ALOGE("Calling native window update buffer geometry");
@@ -2155,6 +2156,7 @@ void DashCodec::sendFormatChange() {
}
}
+#endif
notify->setRect(
"crop",
diff --git a/mm-video/vidc/vdec/Android.mk b/mm-video/vidc/vdec/Android.mk
index b676c88b..79918e3e 100644
--- a/mm-video/vidc/vdec/Android.mk
+++ b/mm-video/vidc/vdec/Android.mk
@@ -76,7 +76,7 @@ libmm-vdec-inc += frameworks/av/include/media/stagefright
libmm-vdec-inc += hardware/qcom/$(DISPLAY)/libqservice
libmm-vdec-inc += frameworks/av/media/libmediaplayerservice
libmm-vdec-inc += frameworks/native/include/binder
-libmm-vdec-inc += hardware/qcom/display/libqdutils
+libmm-vdec-inc += hardware/qcom/$(DISPLAY)/libqdutils
LOCAL_MODULE := libOmxVdec