am f7ce4a9b: Merge "Add bandwidth to adaptive log" into jb-dev

* commit 'f7ce4a9b9aacd01b0a47439a1c33f4e9ace24c5c':
  Add bandwidth to adaptive log
This commit is contained in:
James Dong
2012-05-21 12:39:33 -07:00
committed by Android Git Automerger

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);
}
}
}