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 <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/callback_helpers.h" | 10 #include "base/callback_helpers.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
14 #include "base/thread_task_runner_handle.h" | 14 #include "base/threading/thread_task_runner_handle.h" |
15 #include "chromecast/media/base/decrypt_context_impl.h" | 15 #include "chromecast/media/base/decrypt_context_impl.h" |
16 #include "chromecast/media/cdm/browser_cdm_cast.h" | 16 #include "chromecast/media/cdm/browser_cdm_cast.h" |
17 #include "chromecast/media/cma/base/buffering_frame_provider.h" | 17 #include "chromecast/media/cma/base/buffering_frame_provider.h" |
18 #include "chromecast/media/cma/base/buffering_state.h" | 18 #include "chromecast/media/cma/base/buffering_state.h" |
19 #include "chromecast/media/cma/base/cma_logging.h" | 19 #include "chromecast/media/cma/base/cma_logging.h" |
20 #include "chromecast/media/cma/base/coded_frame_provider.h" | 20 #include "chromecast/media/cma/base/coded_frame_provider.h" |
21 #include "chromecast/media/cma/base/decoder_buffer_base.h" | 21 #include "chromecast/media/cma/base/decoder_buffer_base.h" |
22 #include "chromecast/media/cma/pipeline/decrypt_util.h" | 22 #include "chromecast/media/cma/pipeline/decrypt_util.h" |
23 #include "chromecast/public/media/cast_decrypt_config.h" | 23 #include "chromecast/public/media/cast_decrypt_config.h" |
24 #include "media/base/audio_decoder_config.h" | 24 #include "media/base/audio_decoder_config.h" |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 } | 366 } |
367 } | 367 } |
368 | 368 |
369 // The frame is playable: remove it from the list of non playable frames. | 369 // The frame is playable: remove it from the list of non playable frames. |
370 non_playable_frames_.pop_front(); | 370 non_playable_frames_.pop_front(); |
371 } | 371 } |
372 } | 372 } |
373 | 373 |
374 } // namespace media | 374 } // namespace media |
375 } // namespace chromecast | 375 } // namespace chromecast |
OLD | NEW |