Add bandwidth to adaptive log

Change-Id: I79bf860db76bbdc6020d617f918cafb1f73d54de
related-to-bug: 6500173
This commit is contained in:
Jeff Tinker
2012-05-17 06:41:27 -07:00
parent 382a5286b5
commit 1c084694fe

View File

@@ -488,8 +488,11 @@ int64_t WVMExtractorImpl::getCachedDurationUs(status_t *finalStatus) {
static time_t lastLogTime = now;
if (now > lastLogTime + 5) {
lastLogTime = now;
ALOGI("using adaptive track #%d, rate=%ld\n",
currentTrack, encodedRates[currentTrack]);
unsigned long bandwidth = -1;
WV_Info_CurrentBandwidth(mSession, &bandwidth);
ALOGI("using adaptive track #%d, rate=%ld, bandwidth=%ld\n",
currentTrack, encodedRates[currentTrack], bandwidth);
}
}
}