diff options
author | Lajos Molnar <lajos@google.com> | 2014-02-10 17:34:23 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-02-10 17:34:23 +0000 |
commit | 88e99f9a5e098ee50019ce85f2b1273b48883f37 (patch) | |
tree | c6b34e6adf7dafb6bf3af354da1819d8b0025bdd /media | |
parent | 44f2b8c2ff4baf64baa0510cd37ac178ef91b7bc (diff) | |
parent | 0d572ff9d743afcc8422c6a161af095a9541b510 (diff) | |
download | frameworks_av-88e99f9a5e098ee50019ce85f2b1273b48883f37.zip frameworks_av-88e99f9a5e098ee50019ce85f2b1273b48883f37.tar.gz frameworks_av-88e99f9a5e098ee50019ce85f2b1273b48883f37.tar.bz2 |
Merge "SoftVPXEncoder: Set the frame size on the output port as well"
Diffstat (limited to 'media')
-rw-r--r-- | media/libstagefright/codecs/on2/enc/SoftVPXEncoder.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/on2/enc/SoftVPXEncoder.cpp b/media/libstagefright/codecs/on2/enc/SoftVPXEncoder.cpp index 8375cac..5efe022 100644 --- a/media/libstagefright/codecs/on2/enc/SoftVPXEncoder.cpp +++ b/media/libstagefright/codecs/on2/enc/SoftVPXEncoder.cpp @@ -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) { |