| Index: media/base/media_client.h
|
| diff --git a/media/base/media_client.h b/media/base/media_client.h
|
| index e3bb095a6ac83077bb5b7213fdff6b8392926600..32b02520d881769a01d8026d3bdf54a1a33738d4 100644
|
| --- a/media/base/media_client.h
|
| +++ b/media/base/media_client.h
|
| @@ -11,6 +11,7 @@
|
| #include "media/base/key_system_properties.h"
|
| #include "media/base/media_export.h"
|
| #include "media/base/video_codecs.h"
|
| +#include "ui/gfx/color_space.h"
|
| #include "url/gurl.h"
|
|
|
| namespace media {
|
| @@ -27,6 +28,13 @@ MEDIA_EXPORT void SetMediaClient(MediaClient* media_client);
|
| MEDIA_EXPORT MediaClient* GetMediaClient();
|
| #endif
|
|
|
| +struct MEDIA_EXPORT VideoConfig {
|
| + VideoCodec codec;
|
| + VideoCodecProfile profile;
|
| + int level;
|
| + gfx::ColorSpace::TransferID eotf;
|
| +};
|
| +
|
| struct MEDIA_EXPORT KeySystemInfoForUMA {
|
| KeySystemInfoForUMA(const std::string& key_system,
|
| const std::string& key_system_name_for_uma);
|
| @@ -68,9 +76,7 @@ class MEDIA_EXPORT MediaClient {
|
|
|
| // Returns true if the given combination of video codec, profile and level is
|
| // supported. The |level| value is codec-specific.
|
| - virtual bool IsSupportedVideoConfig(VideoCodec codec,
|
| - VideoCodecProfile profile,
|
| - int level) = 0;
|
| + virtual bool IsSupportedVideoConfig(const VideoConfig& config) = 0;
|
| };
|
|
|
| } // namespace media
|
|
|