Chromium Code Reviews| Index: media/video/video_decode_accelerator.cc |
| diff --git a/media/video/video_decode_accelerator.cc b/media/video/video_decode_accelerator.cc |
| index 7449a2aec7f56c087b59183c1d8f70494a077a65..aea5ebb447324020d5e7c185baea472a35187897 100644 |
| --- a/media/video/video_decode_accelerator.cc |
| +++ b/media/video/video_decode_accelerator.cc |
| @@ -9,6 +9,16 @@ |
| namespace media { |
| +VideoDecodeAccelerator::StreamParameters::StreamParameters() |
| + : profile(VIDEO_CODEC_PROFILE_UNKNOWN), is_encrypted(false) {} |
|
xhwang
2015/12/02 06:48:18
OOC, where do we need this default ctor?
Tima Vaisburd
2015/12/02 18:02:15
I think it is required by auto generated gpu messa
|
| + |
| +VideoDecodeAccelerator::StreamParameters::StreamParameters(VideoCodecProfile p) |
|
xhwang
2015/12/02 06:48:18
no meaningless abbreviations: https://google.githu
|
| + : profile(p), is_encrypted(false) {} |
| + |
| +VideoDecodeAccelerator::StreamParameters::StreamParameters( |
| + const VideoDecoderConfig& config) |
| + : profile(config.profile()), is_encrypted(config.is_encrypted()) {} |
| + |
| void VideoDecodeAccelerator::Client::NotifyCdmAttached(bool success) { |
| NOTREACHED() << "By default CDM is not supported."; |
| } |