Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8eb04084 authored by James Dong's avatar James Dong Committed by Android (Google) Code Review
Browse files

Merge "Fix uninitialized rect structure for retrieving rect cropping...

Merge "Fix uninitialized rect structure for retrieving rect cropping information from decoder" into honeycomb
parents b0fb6bf7 c29dd6f4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3923,6 +3923,8 @@ void OMXCodec::initOutputFormat(const sp<MetaData> &inputFormat) {

            if (!mIsEncoder) {
                OMX_CONFIG_RECTTYPE rect;
                InitOMXParams(&rect);
                rect.nPortIndex = kPortIndexOutput;
                status_t err =
                        mOMX->getConfig(
                            mNode, OMX_IndexConfigCommonOutputCrop,