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

Unified Diff: media/video/video_decode_accelerator.cc

Issue 2461073002: Use MediaCodec.setOutputSurface() for fullscreen transitions on M. (Closed)
Patch Set: Address comments. Created 4 years, 1 month 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
« no previous file with comments | « media/video/video_decode_accelerator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/video_decode_accelerator.cc
diff --git a/media/video/video_decode_accelerator.cc b/media/video/video_decode_accelerator.cc
index 17ffa4b74a5d69144a494201ca24ae1e1f38a8a9..399607cd55f991b371146a8690657a086bce1bee 100644
--- a/media/video/video_decode_accelerator.cc
+++ b/media/video/video_decode_accelerator.cc
@@ -45,6 +45,10 @@ void VideoDecodeAccelerator::ImportBufferForPicture(
NOTREACHED() << "Buffer import not supported.";
}
+void VideoDecodeAccelerator::SetSurface(int32_t surface_id) {
+ NOTREACHED() << "Surfaces are not supported.";
+}
+
GLenum VideoDecodeAccelerator::GetSurfaceInternalFormat() const {
return GL_RGBA;
}
« no previous file with comments | « media/video/video_decode_accelerator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698