| Index: media/filters/gpu_video_decoder.cc
|
| diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc
|
| index 149631d03611f0a1c19817b4075c43b7318947c0..6f950ccbd2dcd904097b99b6e70a58d147de0732 100644
|
| --- a/media/filters/gpu_video_decoder.cc
|
| +++ b/media/filters/gpu_video_decoder.cc
|
| @@ -128,8 +128,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;
|
| }
|
|
|