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

Commit d9f6b221 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

Change-Id: Ia68b31d3e1781cb24e0c16f669a6b26644f33d46
parents a78bd18c afb20c31
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1066,9 +1066,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;