mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1090983 - Invoke UpdateReadyState() after invoking SetState(). r=cpearce
Otherwise, UpdateReadyState() will think that nothing has changed.
This commit is contained in:
parent
ff7e885db8
commit
c800078491
@ -2975,8 +2975,8 @@ void MediaDecoderStateMachine::StartBuffering()
|
||||
// we just trigger UpdateReadyStateForData; when it runs, it
|
||||
// will check the current state and decide whether to tell
|
||||
// the element we're buffering or not.
|
||||
UpdateReadyState();
|
||||
SetState(DECODER_STATE_BUFFERING);
|
||||
UpdateReadyState();
|
||||
DECODER_LOG("Changed state from DECODING to BUFFERING, decoded for %.3lfs",
|
||||
decodeDuration.ToSeconds());
|
||||
#ifdef PR_LOGGING
|
||||
|
Loading…
Reference in New Issue
Block a user