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

Commit 62af0c3f authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Prefer software codec with debug property

Change-Id: Ifc44a1dee79142d13393eac3c0750b9874b46a8f
parent cf39459d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1173,7 +1173,7 @@ void MediaCodecList::findMatchingCodecs(
        }
    }

    if (flags & kPreferSoftwareCodecs) {
    if (flags & kPreferSoftwareCodecs || property_get_bool("debug.stagefright.swcodec", false)) {
        matches->sort(compareSoftwareCodecsFirst);
    }
}