Skip to content

Commit

Permalink
Bug 727694. Set up new mDecoderStateMachine with any preset initial v…
Browse files Browse the repository at this point in the history
…olume. r=cpearce
  • Loading branch information
rocallahan committed Feb 16, 2012
1 parent 30a5467 commit a2febdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions content/media/nsBuiltinDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ nsresult nsBuiltinDecoder::Load(MediaResource* aResource,
ReentrantMonitorAutoEnter mon(mReentrantMonitor);
mDecoderStateMachine->SetSeekable(mSeekable);
mDecoderStateMachine->SetDuration(mDuration);
mDecoderStateMachine->SetVolume(mInitialVolume);

if (mFrameBufferLength > 0) {
// The valid mFrameBufferLength value was specified earlier
Expand Down

0 comments on commit a2febdb

Please sign in to comment.