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

Commit 61363834 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN Committed by Stan Iliev
Browse files

Revert "media: enable Codec 2.0 by default"

This reverts commit 3c4b4551.

Reason for revert: Possibly causing b/132887737 and blocking presubmit

Change-Id: Ib6da7c3e1506965a5d2c202e8bd6cf0e4a81dc3c
(cherry picked from commit 596250cb)
parent 82d96539
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -313,7 +313,7 @@ status_t Codec2InfoBuilder::buildMediaCodecList(MediaCodecListWriter* writer) {
    //
    // Note: Currently, OMX components have default rank 0x100, while all
    // Codec2.0 software components have default rank 0x200.
    int option = ::android::base::GetIntProperty("debug.stagefright.ccodec", 4);
    int option = ::android::base::GetIntProperty("debug.stagefright.ccodec", 1);

    // Obtain Codec2Client
    std::vector<Traits> traits = Codec2Client::ListComponents();
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ constexpr const char kCCodecPluginPath[] = "libsfplugin_ccodec.so";
}  // unnamed namespace

StagefrightPluginLoader::StagefrightPluginLoader(const char *libPath) {
    if (android::base::GetIntProperty("ro.media.codec2.enable", 1) == 0) {
    if (android::base::GetIntProperty("debug.media.codec2", 0) == 0) {
        ALOGD("CCodec is disabled.");
        return;
    }