| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  104 bool CastMediaShlib::SupportsMediaClockRateChange() { |  104 bool CastMediaShlib::SupportsMediaClockRateChange() { | 
|  105   return false; |  105   return false; | 
|  106 } |  106 } | 
|  107  |  107  | 
|  108 bool MediaCapabilitiesShlib::IsSupportedVideoConfig(VideoCodec codec, |  108 bool MediaCapabilitiesShlib::IsSupportedVideoConfig(VideoCodec codec, | 
|  109                                                     VideoProfile profile, |  109                                                     VideoProfile profile, | 
|  110                                                     int level) { |  110                                                     int level) { | 
|  111   return (codec == kCodecH264 || codec == kCodecVP8); |  111   return (codec == kCodecH264 || codec == kCodecVP8); | 
|  112 } |  112 } | 
|  113  |  113  | 
 |  114 bool MediaCapabilitiesShlib::IsSupportedAudioConfig(const AudioConfig& config) { | 
 |  115   return config.codec == kCodecAAC || config.codec == kCodecMP3 || | 
 |  116          config.codec == kCodecPCM; | 
 |  117 } | 
 |  118  | 
|  114 }  // namespace media |  119 }  // namespace media | 
|  115 }  // namespace chromecast |  120 }  // namespace chromecast | 
| OLD | NEW |