diff options
-rw-r--r-- | media/libstagefright/ACodec.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |