summaryrefslogtreecommitdiff
path: root/dom/media
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-18 01:47:24 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-18 01:47:24 -0400
commit24607dc828af83a5111308847b2e825f61dd7fa4 (patch)
treeaea23dd3098f103d57c6135f8796f997c72d7ad4 /dom/media
parent735a7eb9f7f1958cc6e48c793902025cf1b9e0a3 (diff)
downloaduxp-24607dc828af83a5111308847b2e825f61dd7fa4.tar.gz
Issue #80 - De-unify dom/media/encoder
Diffstat (limited to 'dom/media')
-rw-r--r--dom/media/encoder/OpusTrackEncoder.cpp2
-rw-r--r--dom/media/encoder/moz.build6
2 files changed, 6 insertions, 2 deletions
diff --git a/dom/media/encoder/OpusTrackEncoder.cpp b/dom/media/encoder/OpusTrackEncoder.cpp
index 4b55b3954f..aa732b392e 100644
--- a/dom/media/encoder/OpusTrackEncoder.cpp
+++ b/dom/media/encoder/OpusTrackEncoder.cpp
@@ -2,7 +2,9 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+
#include "OpusTrackEncoder.h"
+#include "VideoUtils.h"
#include "nsString.h"
#include "GeckoProfiler.h"
diff --git a/dom/media/encoder/moz.build b/dom/media/encoder/moz.build
index f29430cb03..925c36f90f 100644
--- a/dom/media/encoder/moz.build
+++ b/dom/media/encoder/moz.build
@@ -16,7 +16,7 @@ EXPORTS += [
'TrackMetadataBase.h',
]
-UNIFIED_SOURCES += [
+SOURCES += [
'MediaEncoder.cpp',
'OpusTrackEncoder.cpp',
'TrackEncoder.cpp',
@@ -25,8 +25,10 @@ UNIFIED_SOURCES += [
if CONFIG['MOZ_WEBM_ENCODER']:
EXPORTS += ['VP8TrackEncoder.h',
]
- UNIFIED_SOURCES += ['VP8TrackEncoder.cpp',
+
+ SOURCES += ['VP8TrackEncoder.cpp',
]
+
LOCAL_INCLUDES += ['/media/libyuv/include']
FINAL_LIBRARY = 'xul'