Skip to content

Commit

Permalink
Tiny changes to support media codecs with vanilla driver.
Browse files Browse the repository at this point in the history
Change-Id: I5415b6af1b13c4d9e95dfe4199325274b1d0f3eb
  • Loading branch information
hyperb1iss committed Apr 18, 2013
1 parent 4b73edb commit cf01fce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libqdutils/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ LOCAL_SRC_FILES := profiler.cpp mdp_version.cpp \
comptype.cpp
include $(BUILD_SHARED_LIBRARY)

ifeq ($(TARGET_USES_QCOM_BSP),true)
include $(CLEAR_VARS)

LOCAL_COPY_HEADERS_TO := qcom/display
Expand All @@ -28,4 +27,3 @@ LOCAL_CFLAGS += -DLOG_TAG=\"DisplayMetaData\"
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libqdMetaData
include $(BUILD_SHARED_LIBRARY)
endif
2 changes: 2 additions & 0 deletions libqdutils/qdMetaData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

int setMetaData(private_handle_t *handle, DispParamType paramType,
void *param) {
#ifdef QCOM_BSP
if (!handle) {
ALOGE("%s: Private handle is null!", __func__);
return -1;
Expand Down Expand Up @@ -72,5 +73,6 @@ int setMetaData(private_handle_t *handle, DispParamType paramType,
if(munmap(base, size))
ALOGE("%s: failed to unmap ptr 0x%x, err %d", __func__, (int)base,
errno);
#endif
return 0;
}

0 comments on commit cf01fce

Please sign in to comment.