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

Unified Diff: content/common/gpu/media/mac_video_decode_accelerator.mm

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/mac_video_decode_accelerator.mm
diff --git a/content/common/gpu/media/mac_video_decode_accelerator.mm b/content/common/gpu/media/mac_video_decode_accelerator.mm
index c21a4f93e12076a7124c0da90ab3d3577d2a9cb8..6008069e706fa45de3f0d6f5fc8d9d5e926f35e5 100644
--- a/content/common/gpu/media/mac_video_decode_accelerator.mm
+++ b/content/common/gpu/media/mac_video_decode_accelerator.mm
@@ -328,7 +328,8 @@ void MacVideoDecodeAccelerator::RequestPictures() {
client_->ProvidePictureBuffers(
kNumPictureBuffers,
gfx::Size(config_record_builder_.coded_width(),
- config_record_builder_.coded_height()));
+ config_record_builder_.coded_height()),
+ GL_TEXTURE_RECTANGLE_ARB);
}
}
« no previous file with comments | « content/common/gpu/media/gpu_video_decode_accelerator.cc ('k') | content/common/gpu/media/omx_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698