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

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

Issue 9346012: Video decode in hardware on ARM platform. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 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/gpu_video_decode_accelerator.cc
===================================================================
--- content/common/gpu/media/gpu_video_decode_accelerator.cc (revision 120554)
+++ content/common/gpu/media/gpu_video_decode_accelerator.cc (working copy)
@@ -137,9 +137,10 @@
#else // OS_WIN
OmxVideoDecodeAccelerator* video_decoder =
new OmxVideoDecodeAccelerator(this);
- video_decoder->SetEglState(
+ video_decoder->SetEglState(gfx::GLSurfaceEGL::GetNativeDisplay(),
Ami GONE FROM CHROMIUM 2012/02/07 17:05:40 The fact that this param doesn't depend on any sta
gfx::GLSurfaceEGL::GetHardwareDisplay(),
- stub_->decoder()->GetGLContext()->GetHandle());
+ stub_->decoder()->GetGLContext()->GetHandle(),
+ stub_->decoder()->GetGLSurface()->GetHandle());
#endif // OS_WIN
video_decode_accelerator_ = video_decoder;
if (!video_decode_accelerator_->Initialize(profile))

Powered by Google App Engine
This is Rietveld 408576698