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

Commit 5c3d354b authored by Riaz Rahaman's avatar Riaz Rahaman Committed by Linux Build Service Account
Browse files

libstagefright: Enable logs for Bandwidth switch

Enabled logging for Bandwidth switch and printing segment information

Change-Id: I232eb09a145d65889986b1c434a2c008ae08225c
CRs-Fixed: 645106
parent aff6a725
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -806,6 +806,7 @@ ssize_t LiveSession::fetchFile(
        sp<DataSource> *source, /* to return and reuse source */
        String8 *actualUrl) {
    off64_t size;
    ALOGI("fetchFile: %s", url);
    sp<DataSource> temp_source;
    if (source == NULL) {
        source = &temp_source;
@@ -1000,7 +1001,7 @@ size_t LiveSession::getBandwidthIndex() {
            long maxBw = strtoul(value, &end, 10);
            if (end > value && *end == '\0') {
                if (maxBw > 0 && bandwidthBps > maxBw) {
                    ALOGV("bandwidth capped to %ld bps", maxBw);
                    ALOGI("bandwidth capped to %ld bps", maxBw);
                    bandwidthBps = maxBw;
                }
            }