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

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

stagefright: don't fail MediaCodec.configure if clients use store-meta key am: afb20c31

am: d9f6b221

Change-Id: If02cd075a28e4b96fa1c311547a8837d67e848d5
parents 9578341c d9f6b221
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1072,9 +1072,11 @@ status_t ACodec::configureCodec(
        if (err != OK) {
              ALOGE("[%s] storeMetaDataInBuffers (input) failed w/ err %d",
                    mComponentName.c_str(), err);

              if (mOMX->livesLocally(mNode, getpid())) {
                  return err;
              }
              ALOGI("ignoring failure to use internal MediaCodec key.");
          }
      }

    int32_t prependSPSPPS = 0;