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

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: address review comments/rebase Created 8 years, 7 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 be0aab841fa34ba8e4da930a28955f5bdba79b1b..0d6204d5336d2e6aba61be0faa147cf6f0e000e4 100644
--- a/content/common/gpu/media/mac_video_decode_accelerator.mm
+++ b/content/common/gpu/media/mac_video_decode_accelerator.mm
@@ -283,7 +283,8 @@ void MacVideoDecodeAccelerator::CreateDecoder(
client_->ProvidePictureBuffers(
kNumPictureBuffers,
gfx::Size(config_record_builder_.coded_width(),
- config_record_builder_.coded_height()));
+ config_record_builder_.coded_height()),
+ GL_TEXTURE_RECTANGLE_ARB);
}
}

Powered by Google App Engine
This is Rietveld 408576698