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

Commit 555aa158 authored by rINanDO's avatar rINanDO Committed by Gerrit Code Review
Browse files

stagefright: Exynos4 MPEG4 decoder should set native color format.

Change-Id: I41bee77d48fc0b35691b94585de10269579ae789
parent 7d45d739
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1047,6 +1047,7 @@ void ACodec::setNativeWindowColorFormat(OMX_COLOR_FORMATTYPE &eNativeColorFormat
    // In case of Samsung decoders, we set proper native color format for the Native Window
    if (!strcasecmp(mComponentName.c_str(), "OMX.SEC.AVC.Decoder")
        || !strcasecmp(mComponentName.c_str(), "OMX.SEC.FP.AVC.Decoder")
        || !strcasecmp(mComponentName.c_str(), "OMX.SEC.MPEG4.Decoder")
        || !strcasecmp(mComponentName.c_str(), "OMX.Exynos.AVC.Decoder")) {
        switch (eNativeColorFormat) {
            case OMX_COLOR_FormatYUV420SemiPlanar: