mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
Backed out changeset 2cb402f74a51 (bug 1289976)
This commit is contained in:
parent
eda09c15e0
commit
b5951bbc7f
@ -1940,18 +1940,17 @@ MediaDecoder::NextFrameBufferedStatus()
|
||||
void
|
||||
MediaDecoder::DumpDebugInfo()
|
||||
{
|
||||
MOZ_ASSERT(!IsShutdown());
|
||||
DUMP_LOG("metadata: channels=%u rate=%u hasAudio=%d hasVideo=%d, "
|
||||
"state: mPlayState=%s mIsDormant=%d",
|
||||
"state: mPlayState=%s mIsDormant=%d, IsShutdown()=%d",
|
||||
mInfo ? mInfo->mAudio.mChannels : 0, mInfo ? mInfo->mAudio.mRate : 0,
|
||||
mInfo ? mInfo->HasAudio() : 0, mInfo ? mInfo->HasVideo() : 0,
|
||||
PlayStateStr(), mIsDormant);
|
||||
PlayStateStr(), mIsDormant, IsShutdown());
|
||||
|
||||
nsString str;
|
||||
GetMozDebugReaderData(str);
|
||||
DUMP_LOG("reader data:\n%s", NS_ConvertUTF16toUTF8(str).get());
|
||||
|
||||
if (GetStateMachine()) {
|
||||
if (!IsShutdown() && GetStateMachine()) {
|
||||
GetStateMachine()->DumpDebugInfo();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user