Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: content/common/gpu/media/android_video_decode_accelerator.cc

Issue 1655083002: Enable SurfaceView fullscreen video on Android with WebMediaPlayerImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@avda-sv
Patch Set: Add an empty destructor to satisfy chromium-style Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/media/android_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/android_video_decode_accelerator.cc b/content/common/gpu/media/android_video_decode_accelerator.cc
index 37ea2c771c0a6bb73f016a010a540b9a1a6a015a..b860b4acb62a1f9f05a90cc367beefa0f78f904b 100644
--- a/content/common/gpu/media/android_video_decode_accelerator.cc
+++ b/content/common/gpu/media/android_video_decode_accelerator.cc
@@ -1014,7 +1014,9 @@ AndroidVideoDecodeAccelerator::GetCapabilities() {
if (UseDeferredRenderingStrategy()) {
capabilities.flags = media::VideoDecodeAccelerator::Capabilities::
- NEEDS_ALL_PICTURE_BUFFERS_TO_DECODE;
+ NEEDS_ALL_PICTURE_BUFFERS_TO_DECODE |
+ media::VideoDecodeAccelerator::Capabilities::
+ SUPPORTS_EXTERNAL_OUTPUT_SURFACE;
}
return capabilities;
« no previous file with comments | « content/common/content_message_generator.h ('k') | content/common/media/surface_view_manager_messages_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698