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

Commit 25da2f09 authored by Lajos Molnar's avatar Lajos Molnar Committed by Android Git Automerger
Browse files

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

* commit '88e99f9a':
  SoftVPXEncoder: Set the frame size on the output port as well
parents 15f08b1e 88e99f9a
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -677,6 +677,9 @@ OMX_ERRORTYPE SoftVPXEncoder::internalSetPortParams(
        def->format.video.nFrameHeight = mHeight;
        def->format.video.nFrameHeight = mHeight;
        def->format.video.xFramerate = port->format.video.xFramerate;
        def->format.video.xFramerate = port->format.video.xFramerate;
        def->format.video.eColorFormat = mColorFormat;
        def->format.video.eColorFormat = mColorFormat;
        def = &editPortInfo(kOutputPortIndex)->mDef;
        def->format.video.nFrameWidth = mWidth;
        def->format.video.nFrameHeight = mHeight;


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