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

Commit 6616cf9e 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:...

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

Change-Id: Id22c6f78db4d457c281ab9db7c214236c2bdb18d
parents f7a2861c efe63962
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1210,9 +1210,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;