| Index: media/filters/gpu_video_decoder.cc
|
| diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc
|
| index 5ab5de5d575400c07e0c374c9f274b891f3ffd88..e0d3191d1b2d8d0be1e661d975a8ca4039053c34 100644
|
| --- a/media/filters/gpu_video_decoder.cc
|
| +++ b/media/filters/gpu_video_decoder.cc
|
| @@ -133,8 +133,9 @@ void GpuVideoDecoder::Initialize(const scoped_refptr<DemuxerStream>& stream,
|
| // TODO(scherkus): this check should go in Pipeline prior to creating
|
| // decoder objects.
|
| const VideoDecoderConfig& config = stream->video_decoder_config();
|
| - if (!config.IsValidConfig()) {
|
| - DLOG(ERROR) << "Invalid video stream - " << config.AsHumanReadableString();
|
| + if (!config.IsValidConfig() || config.is_encrypted()) {
|
| + DLOG(ERROR) << "Unsupported video stream - "
|
| + << config.AsHumanReadableString();
|
| status_cb.Run(PIPELINE_ERROR_DECODE);
|
| return;
|
| }
|
|
|