| Index: media/video/video_decode_accelerator.cc
|
| diff --git a/media/video/video_decode_accelerator.cc b/media/video/video_decode_accelerator.cc
|
| index d1df0109a581cff4c2718d77e53479045538230d..e9f2cd857a5c3051d8b4bcca29ff23ed82f792af 100644
|
| --- a/media/video/video_decode_accelerator.cc
|
| +++ b/media/video/video_decode_accelerator.cc
|
| @@ -17,6 +17,13 @@ VideoDecodeAccelerator::Config::Config(
|
| : profile(video_decoder_config.profile()),
|
| is_encrypted(video_decoder_config.is_encrypted()) {}
|
|
|
| +std::string VideoDecodeAccelerator::Config::AsHumanReadableString() const {
|
| + std::ostringstream s;
|
| + s << "profile: " << VideoDecoderConfig::GetHumanReadableProfile(profile)
|
| + << " encrypted? " << (is_encrypted ? "true" : "false");
|
| + return s.str();
|
| +}
|
| +
|
| void VideoDecodeAccelerator::Client::NotifyCdmAttached(bool success) {
|
| NOTREACHED() << "By default CDM is not supported.";
|
| }
|
|
|