Bug 1223655 - Fix opt build bustage on a CLOSED TREE. r=bustage

This commit is contained in:
Andreas Pehrson 2015-12-23 10:28:54 +08:00
parent 4822dbddf9
commit 94b4de6d92

View File

@ -136,10 +136,12 @@ public:
TrackID aId,
StreamTime aDesiredTime) override
{
#ifdef DEBUG
StreamBuffer::Track* data = aSource->FindTrack(aId);
NS_WARN_IF_FALSE(!data || data->IsEnded() ||
aDesiredTime <= aSource->GetEndOfAppendedData(aId),
"MediaEngineDefaultAudioSource data underrun");
#endif
}
virtual bool IsFake() override {