Bug 1517199 - part3 : add more logs. r=padenot

Differential Revision: https://phabricator.services.mozilla.com/D114921
This commit is contained in:
alwu 2021-06-02 16:39:02 +00:00
parent 095e8f93fc
commit b1e6b39bc3

View File

@ -387,12 +387,15 @@ void AudioDecoderInputTrack::HandleSPSCData(SPSCData& aData) {
}
if (aData.IsEOS()) {
MOZ_ASSERT(!Ended());
LOG("Received EOS");
mReceivedEOS = true;
return;
}
if (aData.IsClearFutureData()) {
LOG("Clear future data");
mBufferedData.Clear();
if (!Ended()) {
LOG("Clear EOS");
mReceivedEOS = false;
}
return;