Chromium Code Reviews| Index: media/gpu/android_video_decode_accelerator.cc |
| diff --git a/media/gpu/android_video_decode_accelerator.cc b/media/gpu/android_video_decode_accelerator.cc |
| index f6b7178318127a2e80e5f487788c70daad1e162d..ea6bed18ff5d10a0daa5a9d3387840c3d3fa6e8f 100644 |
| --- a/media/gpu/android_video_decode_accelerator.cc |
| +++ b/media/gpu/android_video_decode_accelerator.cc |
| @@ -1450,11 +1450,11 @@ AndroidVideoDecodeAccelerator::GetCapabilities( |
| profiles.push_back(profile); |
| } |
| + capabilities.flags |= media::VideoDecodeAccelerator::Capabilities:: |
|
liberato (no reviews please)
2016/05/03 21:20:12
s/|=/=
watk
2016/05/03 21:53:12
Done. I also did a sneaky change to move "profile"
|
| + SUPPORTS_DEFERRED_INITIALIZATION; |
| if (UseDeferredRenderingStrategy(gpu_preferences)) { |
| - capabilities.flags = media::VideoDecodeAccelerator::Capabilities:: |
| - NEEDS_ALL_PICTURE_BUFFERS_TO_DECODE | |
| - media::VideoDecodeAccelerator::Capabilities:: |
| - SUPPORTS_DEFERRED_INITIALIZATION; |
| + capabilities.flags |= media::VideoDecodeAccelerator::Capabilities:: |
| + NEEDS_ALL_PICTURE_BUFFERS_TO_DECODE; |
| if (media::MediaCodecUtil::IsSurfaceViewOutputSupported()) { |
| capabilities.flags |= media::VideoDecodeAccelerator::Capabilities:: |
| SUPPORTS_EXTERNAL_OUTPUT_SURFACE; |