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

Commit 88e99f9a authored by Lajos Molnar's avatar Lajos Molnar Committed by Gerrit Code Review
Browse files

Merge "SoftVPXEncoder: Set the frame size on the output port as well"

parents 44f2b8c2 0d572ff9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -677,6 +677,9 @@ OMX_ERRORTYPE SoftVPXEncoder::internalSetPortParams(
        def->format.video.nFrameHeight = mHeight;
        def->format.video.xFramerate = port->format.video.xFramerate;
        def->format.video.eColorFormat = mColorFormat;
        def = &editPortInfo(kOutputPortIndex)->mDef;
        def->format.video.nFrameWidth = mWidth;
        def->format.video.nFrameHeight = mHeight;

        return OMX_ErrorNone;
    } else if (port->nPortIndex == kOutputPortIndex) {