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

Commit b02734e3 authored by Lajos Molnar's avatar Lajos Molnar Committed by android-build-merger
Browse files

Merge "media: enable Codec 2.0 by default" into qt-dev am: 6de2d24b

am: 1834f72a

Change-Id: I2ad7b7fc2eef498a82a3f582f04a664ae96870de
parents 71cf1e08 1834f72a
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", 1);
    int option = ::android::base::GetIntProperty("debug.stagefright.ccodec", 4);

    // 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("debug.media.codec2", 0) == 0) {
    if (android::base::GetIntProperty("ro.media.codec2.enable", 1) == 0) {
        ALOGD("CCodec is disabled.");
        return;
    }