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

Commit 5ffabf06 authored by Jamie Gennis's avatar Jamie Gennis
Browse files

OMXNodeInstance: actually fix OMX_GetExtIndex logging

Bug: 8538872
Change-Id: I228746e8eb502af4bba4054caa4d8569fab35025
parent 64595e67
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -299,7 +299,9 @@ status_t OMXNodeInstance::enableGraphicBuffers(
    OMX_ERRORTYPE err = OMX_GetExtensionIndex(mHandle, name, &index);

    if (err != OMX_ErrorNone) {
        if (enable) {
            ALOGE("OMX_GetExtensionIndex %s failed", name);
        }

        return StatusFromOMXError(err);
    }
@@ -378,9 +380,8 @@ status_t OMXNodeInstance::storeMetaDataInBuffers_l(

    OMX_ERRORTYPE err = OMX_GetExtensionIndex(mHandle, name, &index);
    if (err != OMX_ErrorNone) {
        if (enable) {
        ALOGE("OMX_GetExtensionIndex %s failed", name);
        }

        return StatusFromOMXError(err);
    }