diff --git a/dom/media/MediaDecoder.h b/dom/media/MediaDecoder.h index 5507fea1212..3d97622b394 100644 --- a/dom/media/MediaDecoder.h +++ b/dom/media/MediaDecoder.h @@ -203,7 +203,6 @@ destroying the MediaDecoder object. #include "nsITimer.h" #include "AbstractMediaDecoder.h" -#include "DecodedStream.h" #include "MediaDecoderOwner.h" #include "MediaEventSource.h" #include "MediaMetadataManager.h" diff --git a/dom/media/MediaDecoderStateMachine.cpp b/dom/media/MediaDecoderStateMachine.cpp index f0d4c103a24..7d845b0235b 100644 --- a/dom/media/MediaDecoderStateMachine.cpp +++ b/dom/media/MediaDecoderStateMachine.cpp @@ -16,6 +16,7 @@ #include "MediaTimer.h" #include "mediasink/DecodedAudioDataSink.h" #include "mediasink/AudioSinkWrapper.h" +#include "mediasink/DecodedStream.h" #include "nsTArray.h" #include "MediaDecoder.h" #include "MediaDecoderReader.h" @@ -39,7 +40,6 @@ #include "gfx2DGlue.h" #include "nsPrintfCString.h" #include "DOMMediaStream.h" -#include "DecodedStream.h" #include "mozilla/Logging.h" #include diff --git a/dom/media/MediaDecoderStateMachine.h b/dom/media/MediaDecoderStateMachine.h index b3067cfabf6..73604e914bd 100644 --- a/dom/media/MediaDecoderStateMachine.h +++ b/dom/media/MediaDecoderStateMachine.h @@ -94,7 +94,6 @@ hardware (via AudioStream). #include "MediaEventSource.h" #include "MediaMetadataManager.h" #include "MediaTimer.h" -#include "DecodedStream.h" #include "ImageContainer.h" namespace mozilla { @@ -104,6 +103,7 @@ class MediaSink; } class AudioSegment; +class DecodedStream; class TaskQueue; extern PRLogModuleInfo* gMediaDecoderLog; diff --git a/dom/media/mediasink/moz.build b/dom/media/mediasink/moz.build index abab5c68cd1..931bf0fd59c 100644 --- a/dom/media/mediasink/moz.build +++ b/dom/media/mediasink/moz.build @@ -7,6 +7,7 @@ UNIFIED_SOURCES += [ 'AudioSinkWrapper.cpp', 'DecodedAudioDataSink.cpp', + 'DecodedStream.cpp', ] FINAL_LIBRARY = 'xul' diff --git a/dom/media/moz.build b/dom/media/moz.build index c4e07581a09..23cb8fa4df3 100644 --- a/dom/media/moz.build +++ b/dom/media/moz.build @@ -107,7 +107,6 @@ EXPORTS += [ 'AudioStream.h', 'BufferMediaResource.h', 'CubebUtils.h', - 'DecodedStream.h', 'DecoderTraits.h', 'DOMMediaStream.h', 'EncodedBufferCache.h', @@ -202,7 +201,6 @@ UNIFIED_SOURCES += [ 'AudioTrackList.cpp', 'CanvasCaptureMediaStream.cpp', 'CubebUtils.cpp', - 'DecodedStream.cpp', 'DOMMediaStream.cpp', 'EncodedBufferCache.cpp', 'FileBlockCache.cpp',