mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1125472 - Don't flush decode task queue in MediaDecoderStateMachine::FlushDecoding(). r=bholley
This commit is contained in:
parent
efc9bfa75d
commit
cd88460b5b
@ -2941,7 +2941,8 @@ MediaDecoderStateMachine::FlushDecoding()
|
||||
// and shutdown on B2G will fail as there are outstanding video frames
|
||||
// alive.
|
||||
ReentrantMonitorAutoExit exitMon(mDecoder->GetReentrantMonitor());
|
||||
DecodeTaskQueue()->FlushAndDispatch(task);
|
||||
DecodeTaskQueue()->Dispatch(task);
|
||||
DecodeTaskQueue()->AwaitIdle();
|
||||
}
|
||||
|
||||
// We must reset playback so that all references to frames queued
|
||||
|
Loading…
Reference in New Issue
Block a user