From 7c1e4d782fec07f5b0273b7a443b6cee76357ea2 Mon Sep 17 00:00:00 2001 From: "Christopher R. Palmer" Date: Wed, 20 Jan 2016 20:31:42 -0500 Subject: av: "ACodec: update native window crop rectangle" depends on QCOM Change-Id: If0cc81468ab7ee8fa0ec374a9f23e4004e7cb212 --- media/libstagefright/ACodec.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'media/libstagefright/ACodec.cpp') diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp index 3a08078..4807b65 100644 --- a/media/libstagefright/ACodec.cpp +++ b/media/libstagefright/ACodec.cpp @@ -936,6 +936,7 @@ status_t ACodec::setupNativeWindowSizeFormatAndUsage( #endif mRotationDegrees, usage); +#ifdef QCOM_HARDWARE if (err == OK) { OMX_CONFIG_RECTTYPE rect; InitOMXParams(&rect); @@ -953,6 +954,7 @@ status_t ACodec::setupNativeWindowSizeFormatAndUsage( err = native_window_set_crop(nativeWindow, &crop); } } +#endif return err; } -- cgit v1.1