Bug 903758 - Media Recording - setting the recorder state to inActive on the stop method. r=roc

This commit is contained in:
Randy Lin 2013-08-10 20:29:35 +08:00
Родитель 7c764f9aa5
Коммит 0a33533447
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -228,6 +228,7 @@ MediaRecorder::Stop(ErrorResult& aResult)
aResult.Throw(NS_ERROR_DOM_INVALID_STATE_ERR);
return;
}
mState = RecordingState::Inactive;
mTrackUnionStream->RemoveListener(mEncoder);
}