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

Commit 77f77c68 authored by Wonsik Kim's avatar Wonsik Kim
Browse files

OMXStore: skip platform codecs only

Bug: 239111207
Bug: 239146754
Test: manual
Change-Id: Ia0dcf0cd618c39f93fcf0e0e4cf05eea712c7f76
parent 96e2b6a4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -140,7 +140,8 @@ void OMXStore::addPlugin(OMXPluginBase *plugin) {

        Vector<String8> roles;
        OMX_ERRORTYPE err = plugin->getRolesOfComponent(name, &roles);
        if (err == OMX_ErrorNone) {
        static_assert(std::string_view("OMX.google.").size() == 11);
        if (err == OMX_ErrorNone && strncmp(name, "OMX.google.", 11) == 0) {
            bool skip = false;
            for (String8 role : roles) {
                if (role.find("video_decoder") != -1 || role.find("video_encoder") != -1) {