Bug 1055904 - Fix non-unified bustage in TrackBuffer.cpp.

This commit is contained in:
Ryan VanderMeulen 2015-01-20 22:17:49 -05:00
parent 9c00a3327b
commit 36d51a165e

View File

@ -339,7 +339,7 @@ TrackBuffer::EvictData(double aPlaybackTime,
bool evicted = toEvict < (totalSize - aThreshold);
if (evicted) {
nsRefPtr<TimeRanges> ranges = new TimeRanges();
nsRefPtr<dom::TimeRanges> ranges = new dom::TimeRanges();
mCurrentDecoder->GetBuffered(ranges);
*aBufferStartTime = std::max(0.0, ranges->GetStartTime());
}