From 140750e4e840cfb64f1733b990f9095943bbf043 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sat, 18 Apr 2020 01:47:24 -0400 Subject: Issue #80 - De-unify dom/media/encoder --- dom/media/encoder/OpusTrackEncoder.cpp | 2 ++ dom/media/encoder/moz.build | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'dom/media') 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' -- cgit v1.2.3