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

Commit 0c9153df authored by James Dong's avatar James Dong
Browse files

Do not getConfig on video encoder on output port

Change-Id: Id53e01dd8f3ec0c9ca94bb1d6dfccd7696254a2d
parent 57914381
Loading
Loading
Loading
Loading
+28 −26
Original line number Diff line number Diff line
@@ -3898,6 +3898,7 @@ void OMXCodec::initOutputFormat(const sp<MetaData> &inputFormat) {
            mOutputFormat->setInt32(kKeyHeight, video_def->nFrameHeight);
            mOutputFormat->setInt32(kKeyColorFormat, video_def->eColorFormat);

            if (!mIsEncoder) {
                OMX_CONFIG_RECTTYPE rect;
                status_t err =
                        mOMX->getConfig(
@@ -3925,6 +3926,7 @@ void OMXCodec::initOutputFormat(const sp<MetaData> &inputFormat) {
                            video_def->nFrameWidth - 1,
                            video_def->nFrameHeight - 1);
                }
            }

            break;
        }