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

Commit 7a727021 authored by Zhijun He's avatar Zhijun He
Browse files

stagefright: add error log when create omx component failed

Bug: 16343447
Change-Id: I6854b9b837a141a77ab318953dc002ec5ad5d31d
parent 693dd7e2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3989,6 +3989,8 @@ bool ACodec::UninitializedState::onAllocateComponent(const sp<AMessage> &msg) {

        if (err == OK) {
            break;
        } else {
            ALOGW("Allocating component '%s' failed, try next one.", componentName.c_str());
        }

        node = NULL;
+1 −1
Original line number Diff line number Diff line
@@ -233,7 +233,7 @@ status_t OMX::allocateNode(
            instance, &handle);

    if (err != OMX_ErrorNone) {
        ALOGV("FAILED to allocate omx component '%s'", name);
        ALOGE("FAILED to allocate omx component '%s'", name);

        instance->onGetHandleFailed();