Bug 783179 - Remove unused mCbCrSize and mCbCrBuffer members from nsBuiltinDecoderStateMachine. r=doublec

This commit is contained in:
Matthew Gregan 2012-08-16 18:07:26 +12:00
parent da6acfd8b0
commit c659795e35
2 changed files with 5 additions and 13 deletions

View File

@ -380,7 +380,6 @@ nsBuiltinDecoderStateMachine::nsBuiltinDecoderStateMachine(nsBuiltinDecoder* aDe
bool aRealTime) :
mDecoder(aDecoder),
mState(DECODER_STATE_DECODING_METADATA),
mCbCrSize(0),
mPlayDuration(0),
mStartTime(-1),
mEndTime(-1),

View File

@ -468,13 +468,6 @@ protected:
// Accessed on state machine, audio, main, and AV thread.
State mState;
// The size of the decoded YCbCr frame.
// Accessed on state machine thread.
PRUint32 mCbCrSize;
// Accessed on state machine thread.
nsAutoArrayPtr<unsigned char> mCbCrBuffer;
// Thread for pushing audio onto the audio hardware.
// The "audio push thread".
nsCOMPtr<nsIThread> mAudioThread;
@ -566,6 +559,11 @@ protected:
// Time at which we started decoding. Synchronised via decoder monitor.
TimeStamp mDecodeStartTime;
// The maximum number of second we spend buffering when we are short on
// unbuffered data.
PRUint32 mBufferingWait;
PRInt64 mLowDataThresholdUsecs;
// True if we shouldn't play our audio (but still write it to any capturing
// streams).
bool mAudioCaptured;
@ -647,11 +645,6 @@ protected:
// created. Synchronized by the decoder monitor.
bool mRequestedNewDecodeThread;
// The maximum number of second we spend buffering when we are short on
// unbuffered data.
PRUint32 mBufferingWait;
PRInt64 mLowDataThresholdUsecs;
private:
// Manager for queuing and dispatching MozAudioAvailable events. The
// event manager is accessed from the state machine and audio threads,