| Index: media/filters/gpu_video_decoder.cc
|
| diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc
|
| index abc5295708de55e995bc07b80904adbb5c8d5473..941fd4f7ead54c480e2c5c44af323187dcd01c6a 100644
|
| --- a/media/filters/gpu_video_decoder.cc
|
| +++ b/media/filters/gpu_video_decoder.cc
|
| @@ -182,6 +182,14 @@ void GpuVideoDecoder::Initialize(const VideoDecoderConfig& config,
|
| return;
|
| }
|
|
|
| + // TODO(sandersd): This should be moved to capabilities if we ever have a
|
| + // hardware decoder which supports alpha formats.
|
| + if (config.format() == PIXEL_FORMAT_YV12A) {
|
| + DVLOG(1) << "Alpha transparency formats are not supported.";
|
| + bound_init_cb.Run(false);
|
| + return;
|
| + }
|
| +
|
| VideoDecodeAccelerator::Capabilities capabilities =
|
| factories_->GetVideoDecodeAcceleratorCapabilities();
|
| if (!IsProfileSupported(capabilities, config.profile(), config.coded_size(),
|
|
|