| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <memory> | 5 #include <memory> |
| 6 | 6 |
| 7 #include "base/single_thread_task_runner.h" | 7 #include "base/single_thread_task_runner.h" |
| 8 #include "base/threading/thread_task_runner_handle.h" | 8 #include "base/threading/thread_task_runner_handle.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "chromecast/base/task_runner_impl.h" | 10 #include "chromecast/base/task_runner_impl.h" |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 double* maximum_rate) {} | 98 double* maximum_rate) {} |
| 99 | 99 |
| 100 bool CastMediaShlib::SetMediaClockRate(double new_rate) { | 100 bool CastMediaShlib::SetMediaClockRate(double new_rate) { |
| 101 return false; | 101 return false; |
| 102 } | 102 } |
| 103 | 103 |
| 104 bool CastMediaShlib::SupportsMediaClockRateChange() { | 104 bool CastMediaShlib::SupportsMediaClockRateChange() { |
| 105 return false; | 105 return false; |
| 106 } | 106 } |
| 107 | 107 |
| 108 // static |
| 109 bool MediaCapabilitiesShlib::IsSupportedVideoConfig(VideoCodec codec, |
| 110 VideoProfile profile, |
| 111 int level) { |
| 112 if (codec == kCodecH264 || codec == kCodecVP8) |
| 113 return true; |
| 114 return false; |
| 115 } |
| 116 |
| 108 } // namespace media | 117 } // namespace media |
| 109 } // namespace chromecast | 118 } // namespace chromecast |
| OLD | NEW |