зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1412212. P2 - compact the output of GetDebugInfo(). r=JamesCheng
MozReview-Commit-ID: 6cAedI4Ax5r --HG-- extra : rebase_source : d4162dace6c443fa993863c138855b19c33d7b59
This commit is contained in:
Родитель
0f76002549
Коммит
33a2764739
|
@ -1521,11 +1521,14 @@ nsCString
|
|||
MediaDecoder::GetDebugInfo()
|
||||
{
|
||||
return nsPrintfCString(
|
||||
"MediaDecoder State: channels=%u rate=%u hasAudio=%d hasVideo=%d "
|
||||
"mPlayState=%s mdsm=%p",
|
||||
mInfo ? mInfo->mAudio.mChannels : 0, mInfo ? mInfo->mAudio.mRate : 0,
|
||||
mInfo ? mInfo->HasAudio() : 0, mInfo ? mInfo->HasVideo() : 0,
|
||||
PlayStateStr(), GetStateMachine());
|
||||
"MediaDecoder=%p: channels=%u rate=%u hasAudio=%d hasVideo=%d "
|
||||
"mPlayState=%s",
|
||||
this,
|
||||
mInfo ? mInfo->mAudio.mChannels : 0,
|
||||
mInfo ? mInfo->mAudio.mRate : 0,
|
||||
mInfo ? mInfo->HasAudio() : 0,
|
||||
mInfo ? mInfo->HasVideo() : 0,
|
||||
PlayStateStr());
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -3697,8 +3697,7 @@ MediaDecoderStateMachine::GetDebugInfo()
|
|||
int64_t duration =
|
||||
mDuration.Ref() ? mDuration.Ref().ref().ToMicroseconds() : -1;
|
||||
auto str = nsPrintfCString(
|
||||
"MediaDecoderStateMachine State: duration=%" PRId64 " GetMediaTime=%" PRId64
|
||||
" GetClock="
|
||||
"MDSM: duration=%" PRId64 " GetMediaTime=%" PRId64 " GetClock="
|
||||
"%" PRId64 " mMediaSink=%p state=%s mPlayState=%d "
|
||||
"mSentFirstFrameLoadedEvent=%d IsPlaying=%d mAudioStatus=%s "
|
||||
"mVideoStatus=%s mDecodedAudioEndTime=%" PRId64
|
||||
|
|
|
@ -509,7 +509,7 @@ VideoSink::GetDebugInfo()
|
|||
{
|
||||
AssertOwnerThread();
|
||||
auto str = nsPrintfCString(
|
||||
"VideoSink Status: IsStarted=%d IsPlaying=%d VideoQueue(finished=%d "
|
||||
"VideoSink: IsStarted=%d IsPlaying=%d VideoQueue(finished=%d "
|
||||
"size=%zu) mVideoFrameEndTime=%" PRId64 " mHasVideo=%d "
|
||||
"mVideoSinkEndRequest.Exists()=%d mEndPromiseHolder.IsEmpty()=%d",
|
||||
IsStarted(),
|
||||
|
|
Загрузка…
Ссылка в новой задаче