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

Commit 7b86ff35 authored by Kris Alder's avatar Kris Alder Committed by Gerrit Code Review
Browse files

Merge changes Iaa3f64f7,I890d2e23

* changes:
  libstagefright_mpeg2extractor: Add host support
  libstagefright_mpeg2extractor: Remove libmedia_headers dependency
parents 853ef5c8 751c9dc2
Loading
Loading
Loading
Loading
+15 −1
Original line number Diff line number Diff line
@@ -139,8 +139,10 @@ cc_library_static {

    header_libs: [
        "libaudioclient_headers",
        "libmedia_headers",
        "libbase_headers",
        "libmedia_datasource_headers",
        "media_ndk_headers",
        "media_plugin_headers",
    ],

    cflags: [
@@ -157,6 +159,18 @@ cc_library_static {
            "signed-integer-overflow",
        ],
    },

    host_supported: true,
    target: {
        darwin: {
            enabled: false,
        },
        linux: {
            cflags: [
                "-DDISABLE_AUDIO_SYSTEM_OFFLOAD",
            ],
        }
    },
}

cc_library {
+4 −0
Original line number Diff line number Diff line
@@ -2075,7 +2075,11 @@ bool canOffloadStream(const sp<MetaData>& meta, bool hasVideo,
    }
    // Check if offload is possible for given format, stream type, sample rate,
    // bit rate, duration, video and streaming
#ifdef DISABLE_AUDIO_SYSTEM_OFFLOAD
    return false;
#else
    return AudioSystem::isOffloadSupported(info);
#endif
}

HLSTime::HLSTime(const sp<AMessage>& meta) :