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

Commit e4425cce authored by Robert Shih's avatar Robert Shih Committed by android-build-merger
Browse files

omx node: patch err code to preserve API contract

am: 2c8fec10

Change-Id: Idcdcaef307aa34703e831c06f6d04e3cc14e2179
parents 322c3e5f 2c8fec10
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -902,6 +902,9 @@ status_t OMXNodeInstance::storeMetaDataInBuffers_l(
                        ? kMetadataBufferTypeGrallocSource : requestedType;
            err = OMX_SetParameter(mHandle, index, &params);
        }
        if (err == OMX_ErrorBadParameter) {
            err = OMX_ErrorUnsupportedIndex;
        }
    }

    // don't log loud error if component does not support metadata mode on the output