summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-18 01:47:24 -0400
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-24 10:28:50 +0200
commit140750e4e840cfb64f1733b990f9095943bbf043 (patch)
tree25f8a92ef77ed00b4c5a1d79f71076528b69cc56
parentf2e089d51b5cf94c2512847a6f44ee1f99f596bc (diff)
downloadUXP-140750e4e840cfb64f1733b990f9095943bbf043.tar
UXP-140750e4e840cfb64f1733b990f9095943bbf043.tar.gz
UXP-140750e4e840cfb64f1733b990f9095943bbf043.tar.lz
UXP-140750e4e840cfb64f1733b990f9095943bbf043.tar.xz
UXP-140750e4e840cfb64f1733b990f9095943bbf043.zip
Issue #80 - De-unify dom/media/encoder
-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 4b55b3954..aa732b392 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 f29430cb0..925c36f90 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'