mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1790146 - part2 : remove redundant mVideoFrameContainer
which already exists in the base class. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D162158
This commit is contained in:
parent
d69ddbfc5f
commit
191c61f16c
@ -108,8 +108,7 @@ void ExternalEngineStateMachine::ChangeStateTo(State aNextState) {
|
||||
|
||||
ExternalEngineStateMachine::ExternalEngineStateMachine(
|
||||
MediaDecoder* aDecoder, MediaFormatReader* aReader)
|
||||
: MediaDecoderStateMachineBase(aDecoder, aReader),
|
||||
mVideoFrameContainer(aDecoder->GetVideoFrameContainer()) {
|
||||
: MediaDecoderStateMachineBase(aDecoder, aReader) {
|
||||
LOG("Created ExternalEngineStateMachine");
|
||||
MOZ_ASSERT(mState.IsInitEngine());
|
||||
#ifdef MOZ_WMF_MEDIA_ENGINE
|
||||
|
@ -268,8 +268,6 @@ class ExternalEngineStateMachine final
|
||||
bool mHasEnoughVideo = false;
|
||||
bool mSentPlaybackEndedEvent = false;
|
||||
bool mHasReceivedFirstDecodedVideoFrame = false;
|
||||
|
||||
const RefPtr<VideoFrameContainer> mVideoFrameContainer;
|
||||
};
|
||||
|
||||
class ExternalPlaybackEngine {
|
||||
|
Loading…
Reference in New Issue
Block a user