зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1700492 - add some new debug log for MSE. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D109563
This commit is contained in:
Родитель
f4238ee721
Коммит
f3f041d6d1
|
@ -1285,6 +1285,7 @@ void TrackBuffersManager::OnDemuxerInitDone(const MediaResult& aResult) {
|
|||
// 5. If the first initialization segment received flag is false, then run
|
||||
// the following steps:
|
||||
if (!mFirstInitializationSegmentReceived) {
|
||||
MSE_DEBUG("Get first init data");
|
||||
mAudioTracks.mNumTracks = numAudios;
|
||||
// TODO:
|
||||
// 1. If the initialization segment contains tracks with codecs the user
|
||||
|
@ -1420,6 +1421,7 @@ void TrackBuffersManager::OnDemuxerInitDone(const MediaResult& aResult) {
|
|||
// 6. Set first initialization segment received flag to true.
|
||||
mFirstInitializationSegmentReceived = true;
|
||||
} else {
|
||||
MSE_DEBUG("Get new init data");
|
||||
mAudioTracks.mLastInfo = new TrackInfoSharedPtr(info.mAudio, streamID);
|
||||
mVideoTracks.mLastInfo = new TrackInfoSharedPtr(info.mVideo, streamID);
|
||||
}
|
||||
|
@ -1475,6 +1477,7 @@ void TrackBuffersManager::OnDemuxerInitDone(const MediaResult& aResult) {
|
|||
}
|
||||
|
||||
void TrackBuffersManager::OnDemuxerInitFailed(const MediaResult& aError) {
|
||||
MSE_DEBUG("");
|
||||
MOZ_ASSERT(aError != NS_ERROR_DOM_MEDIA_WAITING_FOR_DATA);
|
||||
mDemuxerInitRequest.Complete();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче