Merge "Add bandwidth to adaptive log" into jb-dev
This commit is contained in:
@@ -488,8 +488,11 @@ int64_t WVMExtractorImpl::getCachedDurationUs(status_t *finalStatus) {
|
|||||||
static time_t lastLogTime = now;
|
static time_t lastLogTime = now;
|
||||||
if (now > lastLogTime + 5) {
|
if (now > lastLogTime + 5) {
|
||||||
lastLogTime = now;
|
lastLogTime = now;
|
||||||
ALOGI("using adaptive track #%d, rate=%ld\n",
|
unsigned long bandwidth = -1;
|
||||||
currentTrack, encodedRates[currentTrack]);
|
WV_Info_CurrentBandwidth(mSession, &bandwidth);
|
||||||
|
|
||||||
|
ALOGI("using adaptive track #%d, rate=%ld, bandwidth=%ld\n",
|
||||||
|
currentTrack, encodedRates[currentTrack], bandwidth);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user