Index: media/remoting/fake_media_resource.cc |
diff --git a/media/remoting/fake_media_resource.cc b/media/remoting/fake_media_resource.cc |
index 16d7403559050cb51cb3d5b2ca8cad453035a19c..91be95d3a9bbba71eb7f49bee4c8f259c6f771f5 100644 |
--- a/media/remoting/fake_media_resource.cc |
+++ b/media/remoting/fake_media_resource.cc |
@@ -73,7 +73,7 @@ VideoRotation FakeDemuxerStream::video_rotation() { |
} |
bool FakeDemuxerStream::enabled() const { |
- return false; |
+ return true; |
} |
void FakeDemuxerStream::CreateFakeFrame(size_t size, |
@@ -106,10 +106,15 @@ FakeMediaResource::FakeMediaResource() |
FakeMediaResource::~FakeMediaResource() {} |
-DemuxerStream* FakeMediaResource::GetStream(DemuxerStream::Type type) { |
- if (type == DemuxerStream::AUDIO) |
- return reinterpret_cast<DemuxerStream*>(demuxer_stream_.get()); |
- return nullptr; |
+std::vector<DemuxerStream*> FakeMediaResource::GetStreams() { |
+ std::vector<DemuxerStream*> streams; |
+ streams.push_back(demuxer_stream_.get()); |
+ return streams; |
+} |
+ |
+void FakeMediaResource::SetStreamStatusChangeCB( |
+ const StreamStatusChangeCB& cb) { |
+ NOTIMPLEMENTED(); |
} |
} // namespace remoting |