| Index: chromecast/media/base/media_codec_support.h
|
| diff --git a/chromecast/media/base/media_codec_support.h b/chromecast/media/base/media_codec_support.h
|
| index cbbf67ca3e9294c2aec636dce3633a04c9af8dc5..ed56ad960ebe991d97df35127811c26e0d036461 100644
|
| --- a/chromecast/media/base/media_codec_support.h
|
| +++ b/chromecast/media/base/media_codec_support.h
|
| @@ -24,7 +24,15 @@ namespace media {
|
| // representation of the codec id conforming to RFC 6381) is supported or not.
|
| ::media::IsCodecSupportedCB GetIsCodecSupportedOnChromecastCB();
|
|
|
| -VideoCodec ToCastVideoCodec(const ::media::VideoCodec codec);
|
| +// Converts ::media::VideoCodec to chromecast::media::VideoCodec. Any unknown or
|
| +// unsupported codec will be converted to chromecast::media::kCodecUnknown. Note
|
| +// |codec_profile| is ignored for codecs other than Dolby Vision.
|
| +// TODO(erickung): Remove |codec_profile| parameter by changing VideoCodec enum
|
| +// to align with ::media::VideoCodecs.
|
| +VideoCodec ToCastVideoCodec(const ::media::VideoCodec codec,
|
| + const ::media::VideoCodecProfile codec_profile);
|
| +
|
| +// Converts ::media::VideoCodecProfile to chromecast::media::VideoProfile.
|
| VideoProfile ToCastVideoProfile(const ::media::VideoCodecProfile profile);
|
| CodecProfileLevel ToCastCodecProfileLevel(
|
| const ::media::CodecProfileLevel& codec_profile_level);
|
|
|