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/media/cma/pipeline/av_pipeline_impl.h" | 5 #include "chromecast/media/cma/pipeline/av_pipeline_impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
11 #include "base/thread_task_runner_handle.h" | 11 #include "base/thread_task_runner_handle.h" |
| 12 #include "chromecast/media/base/decoder_buffer_base.h" |
12 #include "chromecast/media/base/decrypt_context_impl.h" | 13 #include "chromecast/media/base/decrypt_context_impl.h" |
13 #include "chromecast/media/cdm/browser_cdm_cast.h" | 14 #include "chromecast/media/cdm/browser_cdm_cast.h" |
14 #include "chromecast/media/cma/base/buffering_frame_provider.h" | 15 #include "chromecast/media/cma/base/buffering_frame_provider.h" |
15 #include "chromecast/media/cma/base/buffering_state.h" | 16 #include "chromecast/media/cma/base/buffering_state.h" |
16 #include "chromecast/media/cma/base/cma_logging.h" | 17 #include "chromecast/media/cma/base/cma_logging.h" |
17 #include "chromecast/media/cma/base/coded_frame_provider.h" | 18 #include "chromecast/media/cma/base/coded_frame_provider.h" |
18 #include "chromecast/media/cma/base/decoder_buffer_base.h" | |
19 #include "chromecast/media/cma/pipeline/decrypt_util.h" | 19 #include "chromecast/media/cma/pipeline/decrypt_util.h" |
20 #include "chromecast/public/media/cast_decrypt_config.h" | 20 #include "chromecast/public/media/cast_decrypt_config.h" |
21 #include "media/base/audio_decoder_config.h" | 21 #include "media/base/audio_decoder_config.h" |
22 #include "media/base/bind_to_current_loop.h" | 22 #include "media/base/bind_to_current_loop.h" |
23 #include "media/base/decrypt_config.h" | 23 #include "media/base/decrypt_config.h" |
24 #include "media/base/timestamp_constants.h" | 24 #include "media/base/timestamp_constants.h" |
25 | 25 |
26 namespace chromecast { | 26 namespace chromecast { |
27 namespace media { | 27 namespace media { |
28 | 28 |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 } | 332 } |
333 } | 333 } |
334 | 334 |
335 // The frame is playable: remove it from the list of non playable frames. | 335 // The frame is playable: remove it from the list of non playable frames. |
336 non_playable_frames_.pop_front(); | 336 non_playable_frames_.pop_front(); |
337 } | 337 } |
338 } | 338 } |
339 | 339 |
340 } // namespace media | 340 } // namespace media |
341 } // namespace chromecast | 341 } // namespace chromecast |
OLD | NEW |