diff options
author | Christopher R. Palmer <crpalmer@gmail.com> | 2016-01-20 20:31:42 -0500 |
---|---|---|
committer | Christopher R. Palmer <crpalmer@gmail.com> | 2016-01-20 20:32:54 -0500 |
commit | 7c1e4d782fec07f5b0273b7a443b6cee76357ea2 (patch) | |
tree | 491f080fe1257018592b8367386b82332dad53be /media | |
parent | e80385c9252ba5a2619378bed0bcb34d17506ba1 (diff) | |
download | frameworks_av-7c1e4d782fec07f5b0273b7a443b6cee76357ea2.zip frameworks_av-7c1e4d782fec07f5b0273b7a443b6cee76357ea2.tar.gz frameworks_av-7c1e4d782fec07f5b0273b7a443b6cee76357ea2.tar.bz2 |
av: "ACodec: update native window crop rectangle" depends on QCOM
Change-Id: If0cc81468ab7ee8fa0ec374a9f23e4004e7cb212
Diffstat (limited to 'media')
-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; } |