mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Backed out changeset d975577991ca (bug 1125472) for Linux mochitest failures.
This commit is contained in:
parent
ab0788b330
commit
341ccfb5cd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user