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

Commit bd24eb55 authored by Andreas Huber's avatar Andreas Huber Committed by Android (Google) Code Review
Browse files

Merge "Don't advertise the (old-style) software decoders unless they're actually present."

parents 801453f5 2541c5af
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4256,9 +4256,11 @@ status_t QueryCodecs(
        if (strncmp(componentName, "OMX.", 4)) {
            // Not an OpenMax component but a software codec.

#if HAVE_SOFTWARE_DECODERS
            results->push();
            CodecCapabilities *caps = &results->editItemAt(results->size() - 1);
            caps->mComponentName = componentName;
#endif

            continue;
        }