зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1367983 - revert the change of bug1367980. r=jwwang
In bug1371202, it has already implemented what I want to do, so remove the change in bug1367980. MozReview-Commit-ID: LoH51bBDTqr --HG-- extra : rebase_source : 9fd77acae81f94e45f0f840775c81509e85c4ad0
This commit is contained in:
Родитель
30093548fb
Коммит
fbe625863b
|
@ -1957,15 +1957,12 @@ public:
|
|||
|
||||
void Enter()
|
||||
{
|
||||
// TODO : use more approriate way to decide whether need to release
|
||||
// resource in bug1367983.
|
||||
#ifndef MOZ_WIDGET_ANDROID
|
||||
if (!mMaster->mLooping) {
|
||||
// We've decoded all samples.
|
||||
// We don't need decoders anymore if not looping.
|
||||
Reader()->ReleaseResources();
|
||||
}
|
||||
#endif
|
||||
|
||||
bool hasNextFrame = (!mMaster->HasAudio() || !mMaster->mAudioCompleted)
|
||||
&& (!mMaster->HasVideo() || !mMaster->mVideoCompleted);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче