зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1320994 - Unify MediaManager logging macros. r=jib
MozReview-Commit-ID: 14b6cXgOqP8 --HG-- extra : rebase_source : cb702280e9b3fcfcd09a11feeb9f8dfbdf115580
This commit is contained in:
Родитель
aee0a7853c
Коммит
7bd84f27d8
|
@ -1277,7 +1277,7 @@ public:
|
|||
source->SetPullEnabled(true);
|
||||
source->AdvanceKnownTracksTime(STREAM_TIME_MAX);
|
||||
|
||||
MM_LOG(("started all sources"));
|
||||
LOG(("started all sources"));
|
||||
|
||||
// Forward onTracksAvailableCallback to GetUserMediaNotificationEvent,
|
||||
// because onTracksAvailableCallback needs to be added to domStream
|
||||
|
@ -3449,7 +3449,7 @@ SourceListener::Remove()
|
|||
return;
|
||||
}
|
||||
|
||||
MM_LOG(("SourceListener removed on purpose, mFinished = %d", (int) mFinished));
|
||||
LOG(("SourceListener removed on purpose, mFinished = %d", (int) mFinished));
|
||||
mRemoved = true; // RemoveListener is async, avoid races
|
||||
mWindowListener = nullptr;
|
||||
|
||||
|
@ -3662,7 +3662,7 @@ void
|
|||
SourceListener::NotifyRemoved()
|
||||
{
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
MM_LOG(("SourceListener removed, mFinished = %d", (int) mFinished));
|
||||
LOG(("SourceListener removed, mFinished = %d", (int) mFinished));
|
||||
mRemoved = true;
|
||||
|
||||
if (!mFinished) {
|
||||
|
|
|
@ -60,9 +60,6 @@ class GetUserMediaWindowListener;
|
|||
class MediaManager;
|
||||
class SourceListener;
|
||||
|
||||
extern LogModule* GetMediaManagerLog();
|
||||
#define MM_LOG(msg) MOZ_LOG(GetMediaManagerLog(), mozilla::LogLevel::Debug, msg)
|
||||
|
||||
class MediaDevice : public nsIMediaDevice
|
||||
{
|
||||
public:
|
||||
|
|
Загрузка…
Ссылка в новой задаче