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

Commit 63364e99 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

am: e4425cce

Change-Id: I760838435059ace17664905bb28098c1fcfe7008
parents 8d32e0a7 e4425cce
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