mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:18:48 +00:00
Eliminate initial notifies
Not really needed or helpful for our use.
This commit is contained in:
@@ -269,8 +269,8 @@ MediaDecoderStateMachine::MediaDecoderStateMachine(MediaDecoder* aDecoder,
|
||||
|
||||
// Skip the initial notification we get when we Watch the value, since we're
|
||||
// not on the right thread yet.
|
||||
mNextFrameStatusUpdater->Watch(mState, /* aSkipInitialNotify = */ true);
|
||||
mNextFrameStatusUpdater->Watch(mAudioCompleted, /* aSkipInitialNotify = */ true);
|
||||
mNextFrameStatusUpdater->Watch(mState);
|
||||
mNextFrameStatusUpdater->Watch(mAudioCompleted);
|
||||
mNextFrameStatusUpdater->AddWeakCallback(this, &MediaDecoderStateMachine::UpdateNextFrameStatus);
|
||||
|
||||
static bool sPrefCacheInit = false;
|
||||
|
||||
Reference in New Issue
Block a user