summaryrefslogtreecommitdiffstats
path: root/dom/media/platforms/PDMFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/platforms/PDMFactory.h')
-rw-r--r--dom/media/platforms/PDMFactory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/media/platforms/PDMFactory.h b/dom/media/platforms/PDMFactory.h
index fb6065b..fcd89dc 100644
--- a/dom/media/platforms/PDMFactory.h
+++ b/dom/media/platforms/PDMFactory.h
@@ -45,6 +45,8 @@ class PDMFactory final {
// This is called on the decode task queue.
void SetCDMProxy(CDMProxy* aProxy);
+ static void EnsureInit();
+
static constexpr int kYUV400 = 0;
static constexpr int kYUV420 = 1;
static constexpr int kYUV422 = 2;
@@ -72,7 +74,6 @@ class PDMFactory final {
bool mFFmpegFailedToLoad = false;
bool mGMPPDMFailedToStartup = false;
- void EnsureInit() const;
template <class T>
friend class StaticAutoPtr;
static StaticAutoPtr<PDMFactoryImpl> sInstance;