|
@@ -33,7 +33,7 @@ diff --git a/dom/media/MediaPrefs.h b/dom/media/MediaPrefs.h
|
|
|
diff --git a/dom/media/platforms/agnostic/AgnosticDecoderModule.cpp b/dom/media/platforms/agnostic/AgnosticDecoderModule.cpp
|
|
|
--- a/dom/media/platforms/agnostic/AgnosticDecoderModule.cpp
|
|
|
+++ b/dom/media/platforms/agnostic/AgnosticDecoderModule.cpp
|
|
|
-@@ -1,53 +1,56 @@
|
|
|
+@@ -1,53 +1,57 @@
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
/* vim:set ts=2 sw=2 sts=2 et cindent: */
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
@@ -69,6 +69,7 @@ diff --git a/dom/media/platforms/agnostic/AgnosticDecoderModule.cpp b/dom/media/
|
|
|
+ if (MediaPrefs::AV1Enabled()) {
|
|
|
+ supports |= AOMDecoder::IsAV1(aMimeType);
|
|
|
+ }
|
|
|
++#endif
|
|
|
MOZ_LOG(sPDMLog, LogLevel::Debug,
|
|
|
("Agnostic decoder %s requested type",
|
|
|
supports ? "supports" : "rejects"));
|