зеркало из https://github.com/mozilla/gecko-dev.git
Bug 101741 - minor fix for the wrong usage of ChangeExplicitBlockerCount in MediaRecorder. r=roc
This commit is contained in:
Родитель
b8beb1ca52
Коммит
6d80943796
|
@ -289,7 +289,7 @@ public:
|
|||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
NS_ENSURE_TRUE(mTrackUnionStream, NS_ERROR_FAILURE);
|
||||
mTrackUnionStream->ChangeExplicitBlockerCount(-1);
|
||||
mTrackUnionStream->ChangeExplicitBlockerCount(1);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -300,7 +300,7 @@ public:
|
|||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
NS_ENSURE_TRUE(mTrackUnionStream, NS_ERROR_FAILURE);
|
||||
mTrackUnionStream->ChangeExplicitBlockerCount(1);
|
||||
mTrackUnionStream->ChangeExplicitBlockerCount(-1);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче