| Index: media/filters/dummy_demuxer_factory.cc
|
| diff --git a/media/filters/dummy_demuxer_factory.cc b/media/filters/dummy_demuxer_factory.cc
|
| index 37495e89aded4e6ad3d84637984dc23667aeb49b..735cf59e7ad14fec7847a29e6317e87107f6a0de 100644
|
| --- a/media/filters/dummy_demuxer_factory.cc
|
| +++ b/media/filters/dummy_demuxer_factory.cc
|
| @@ -9,9 +9,12 @@
|
|
|
| namespace media {
|
|
|
| -DummyDemuxerFactory::DummyDemuxerFactory(bool has_video, bool has_audio)
|
| +DummyDemuxerFactory::DummyDemuxerFactory(bool has_video,
|
| + bool has_audio,
|
| + bool local_source)
|
| : has_video_(has_video),
|
| - has_audio_(has_audio) {
|
| + has_audio_(has_audio),
|
| + local_source_(local_source) {
|
| }
|
|
|
| DummyDemuxerFactory::~DummyDemuxerFactory() {}
|
| @@ -19,12 +22,12 @@ DummyDemuxerFactory::~DummyDemuxerFactory() {}
|
| void DummyDemuxerFactory::Build(const std::string& url,
|
| const BuildCallback& cb) {
|
| scoped_refptr<DummyDemuxer> demuxer =
|
| - new DummyDemuxer(has_video_, has_audio_);
|
| + new DummyDemuxer(has_video_, has_audio_, local_source_);
|
| cb.Run(PIPELINE_OK, demuxer.get());
|
| }
|
|
|
| DemuxerFactory* DummyDemuxerFactory::Clone() const {
|
| - return new DummyDemuxerFactory(has_video_, has_audio_);
|
| + return new DummyDemuxerFactory(has_video_, has_audio_, local_source_);
|
| }
|
|
|
| } // namespace media
|
|
|