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

Commit 01ce70e7 authored by Chong Zhang's avatar Chong Zhang
Browse files

Fix initial buffer format for SoftVPX

Bug: 80553101

Test: playback VP9 profile 0 and profile 2 content with SoftVPX,
with verbose ACodec log, buffer shouldn't reallocate with profile0.
Check thumbnail generation in Photos work properly.

Change-Id: Ic488b110abee20b42f1877b23e763988dd8243b2
parent 4fe8f25f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -651,7 +651,6 @@ OMX_ERRORTYPE SoftVideoDecoderOMXComponent::setConfig(
                return OMX_ErrorBadPortIndex;
            }

            mOutputFormat = OMX_COLOR_FormatYUV420Planar16;
            mHdrStaticInfo = hdrStaticInfoParams->sInfo;
            updatePortDefinitions(false);