diff --git a/dom/media/mediasink/AudioDecoderInputTrack.cpp b/dom/media/mediasink/AudioDecoderInputTrack.cpp index cf072b64e00f..74f19f282589 100644 --- a/dom/media/mediasink/AudioDecoderInputTrack.cpp +++ b/dom/media/mediasink/AudioDecoderInputTrack.cpp @@ -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;