Backed out changeset 2cb402f74a51 (bug 1289976)

This commit is contained in:
Carsten "Tomcat" Book 2016-07-30 19:52:32 +02:00
parent eda09c15e0
commit b5951bbc7f

View File

@ -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();
}
}