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

Commit 81eacb8b authored by Andreas Huber's avatar Andreas Huber
Browse files

Log an error instead of asserting if the OMX plugin reports an error.

Change-Id: I2bae80706495c5c5d4257cd607c2141c070c5ff9
parent 185a1931
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -86,7 +86,11 @@ void OMXMaster::addPlugin(OMXPluginBase *plugin) {

        mPluginByComponentName.add(name8, plugin);
    }
    CHECK_EQ(err, OMX_ErrorNoMore);

    if (err != OMX_ErrorNoMore) {
        LOGE("OMX plugin failed w/ error 0x%08x after registering %d "
             "components", err, mPluginByComponentName.size());
    }
}

void OMXMaster::clearPlugins() {