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

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

Issue 10392141: Plumb texture target to VideoDecodeAccelerator::Client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build Created 8 years, 6 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/omx_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/omx_video_decode_accelerator.cc b/content/common/gpu/media/omx_video_decode_accelerator.cc
index 811997d1f3c45faeda5f2abb2c63f5b919079425..5e88010d4726ea5ceaea423b5960f831e47b9975 100644
--- a/content/common/gpu/media/omx_video_decode_accelerator.cc
+++ b/content/common/gpu/media/omx_video_decode_accelerator.cc
@@ -748,7 +748,8 @@ void OmxVideoDecodeAccelerator::OnOutputPortDisabled() {
if (client_) {
client_->ProvidePictureBuffers(
kNumPictureBuffers,
- gfx::Size(vformat.nFrameWidth, vformat.nFrameHeight));
+ gfx::Size(vformat.nFrameWidth, vformat.nFrameHeight),
+ GL_TEXTURE_2D);
}
}
« no previous file with comments | « content/common/gpu/media/mac_video_decode_accelerator.mm ('k') | content/common/gpu/media/rendering_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698