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

Commit 998d7dc3 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
am: 6616cf9e

Change-Id: If2b68293e43057d517989755f64e56bdfab20b8e
parents 2379d9e5 6616cf9e
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;