mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 525b62ea9132 (bug 1125472)
This commit is contained in:
parent
f942d4e6e6
commit
4a5661f698
@ -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