Index: media/base/mime_util_internal.h |
diff --git a/media/base/mime_util_internal.h b/media/base/mime_util_internal.h |
index 28f2493fb090ebdadef8163d9a5ef020bb059f04..1834b304af6490f03c753124ae9c13a6a43eed3a 100644 |
--- a/media/base/mime_util_internal.h |
+++ b/media/base/mime_util_internal.h |
@@ -114,12 +114,16 @@ class MEDIA_EXPORT MimeUtil { |
// whenever |codec_id| is incomplete/invalid, or in some cases when |
// |ambiguous_codec_string| is set to true. |
// |is_encrypted| means the codec will be used with encrypted blocks. |
+ // |out_eotf| is the electro-optical transfer function described by the |
+ // |codec_id|. Will be gfx::ColorSpace::TransferID::INVALID for many codec |
+ // strings where EOTF is not described. |
bool ParseCodecString(const std::string& mime_type_lower_case, |
const std::string& codec_id, |
Codec* codec, |
bool* ambiguous_codec_string, |
VideoCodecProfile* out_profile, |
- uint8_t* out_level) const; |
+ uint8_t* out_level, |
+ gfx::ColorSpace::TransferID* out_eotf) const; |
// Returns IsSupported if |codec| when platform supports codec contained in |
// |mime_type_lower_case|. Returns MayBeSupported when platform support is |
@@ -133,6 +137,7 @@ class MEDIA_EXPORT MimeUtil { |
Codec codec, |
VideoCodecProfile video_profile, |
uint8_t video_level, |
+ gfx::ColorSpace::TransferID eotf, |
bool is_encrypted) const; |
// Wrapper around IsCodecSupported for simple codecs that are entirely |