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

Commit 27c460c8 authored by Arne Coucheron's avatar Arne Coucheron Committed by Michael Bestas
Browse files

Enable legacy adaptive playback for QCOM_BSP_LEGACY

Adaptive playback got broken in Q, and this is needed
to fix issues with video playback in apps like YouTube etc.

Change-Id: Ieb440b93222e67043eb5ceda50c0b5eea3198695
parent 5a5606db
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
cc_library_shared {
    name: "libstagefright_omx",
    defaults: ["stagefright_qcom_legacy_defaults"],
    vendor_available: true,
    vndk: {
        enabled: true,
+4 −0
Original line number Diff line number Diff line
@@ -453,7 +453,11 @@ OMXNodeInstance::OMXNodeInstance(
    mGraphicBufferEnabled[0] = false;
    mGraphicBufferEnabled[1] = false;
    mIsSecure = AString(name).endsWith(".secure");
#ifdef QCOM_BSP_LEGACY
    mLegacyAdaptiveExperiment = true;
#else
    mLegacyAdaptiveExperiment = ADebug::isExperimentEnabled("legacy-adaptive");
#endif
}

OMXNodeInstance::~OMXNodeInstance() {