| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chromecast/browser/media/media_pipeline_host.h" | 5 #include "chromecast/browser/media/media_pipeline_host.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/location.h" | 13 #include "base/location.h" |
| 14 #include "base/memory/shared_memory.h" | 14 #include "base/memory/shared_memory.h" |
| 15 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
| 16 #include "base/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
| 17 #include "chromecast/base/task_runner_impl.h" | 17 #include "chromecast/base/task_runner_impl.h" |
| 18 #include "chromecast/common/media/shared_memory_chunk.h" | 18 #include "chromecast/common/media/shared_memory_chunk.h" |
| 19 #include "chromecast/media/base/media_caps.h" | 19 #include "chromecast/media/base/media_caps.h" |
| 20 #include "chromecast/media/cma/ipc/media_message_fifo.h" | 20 #include "chromecast/media/cma/ipc/media_message_fifo.h" |
| 21 #include "chromecast/media/cma/ipc_streamer/coded_frame_provider_host.h" | 21 #include "chromecast/media/cma/ipc_streamer/coded_frame_provider_host.h" |
| 22 #include "chromecast/media/cma/pipeline/audio_pipeline_impl.h" | 22 #include "chromecast/media/cma/pipeline/audio_pipeline_impl.h" |
| 23 #include "chromecast/media/cma/pipeline/media_pipeline_impl.h" | 23 #include "chromecast/media/cma/pipeline/media_pipeline_impl.h" |
| 24 #include "chromecast/media/cma/pipeline/video_pipeline_impl.h" | 24 #include "chromecast/media/cma/pipeline/video_pipeline_impl.h" |
| 25 #include "chromecast/public/media/media_pipeline_backend.h" | 25 #include "chromecast/public/media/media_pipeline_backend.h" |
| 26 #include "chromecast/public/media/media_pipeline_device_params.h" | 26 #include "chromecast/public/media/media_pipeline_device_params.h" |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 if (it == media_track_map_.end()) | 170 if (it == media_track_map_.end()) |
| 171 return; | 171 return; |
| 172 | 172 |
| 173 MediaTrackHost* media_track_host = it->second; | 173 MediaTrackHost* media_track_host = it->second; |
| 174 if (!media_track_host->pipe_write_cb.is_null()) | 174 if (!media_track_host->pipe_write_cb.is_null()) |
| 175 media_track_host->pipe_write_cb.Run(); | 175 media_track_host->pipe_write_cb.Run(); |
| 176 } | 176 } |
| 177 | 177 |
| 178 } // namespace media | 178 } // namespace media |
| 179 } // namespace chromecast | 179 } // namespace chromecast |
| OLD | NEW |