Bug 1119803 - Uninitialised value use in StopPrerollingVideo. r=bobbyholley, a=sledru
authorJulian Seward <jseward@acm.org>
Tue, 13 Jan 2015 12:56:38 +0100
changeset 249223 799189768df91c1c3487338f0c87608ae687d16a
parent 249222 4be2ace2bb828062e5f0304fb61d8d0d5347cfb6
child 249224 6e59be636f8018656a0a493eb0cf1853a8f130b1
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbobbyholley, sledru
bugs1119803
milestone37.0a2
Bug 1119803 - Uninitialised value use in StopPrerollingVideo. r=bobbyholley, a=sledru
dom/media/MediaDecoderStateMachine.cpp
--- a/dom/media/MediaDecoderStateMachine.cpp
+++ b/dom/media/MediaDecoderStateMachine.cpp
@@ -197,16 +197,18 @@ MediaDecoderStateMachine::MediaDecoderSt
   mVideoFrameEndTime(-1),
   mDecodedVideoEndTime(-1),
   mVolume(1.0),
   mPlaybackRate(1.0),
   mPreservesPitch(true),
   mAmpleVideoFrames(2),
   mLowAudioThresholdUsecs(LOW_AUDIO_USECS),
   mAmpleAudioThresholdUsecs(AMPLE_AUDIO_USECS),
+  mIsAudioPrerolling(false),
+  mIsVideoPrerolling(false),
   mAudioRequestStatus(RequestStatus::Idle),
   mVideoRequestStatus(RequestStatus::Idle),
   mAudioCaptured(false),
   mPositionChangeQueued(false),
   mAudioCompleted(false),
   mGotDurationFromMetaData(false),
   mDispatchedEventToDecode(false),
   mStopAudioThread(true),