Backed out changeset fde8a287433b (bug 1125472)

This commit is contained in:
Carsten "Tomcat" Book 2015-01-27 09:39:06 +01:00
parent 5b1fad6c59
commit da13896772

View File

@ -2941,8 +2941,7 @@ MediaDecoderStateMachine::FlushDecoding()
// and shutdown on B2G will fail as there are outstanding video frames
// alive.
ReentrantMonitorAutoExit exitMon(mDecoder->GetReentrantMonitor());
DecodeTaskQueue()->Dispatch(task);
DecodeTaskQueue()->AwaitIdle();
DecodeTaskQueue()->FlushAndDispatch(task);
}
// We must reset playback so that all references to frames queued