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

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: 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 e926aee42476ca5fa2c07d811ca0bc0082421d5d..2f4895c778872f1b6a89023e2b0c4811c7f23639 100644
--- a/content/common/gpu/media/mac_video_decode_accelerator.mm
+++ b/content/common/gpu/media/mac_video_decode_accelerator.mm
@@ -164,7 +164,9 @@ void MacVideoDecodeAccelerator::Decode(
did_request_pictures_ = true;
if (client_)
client_->ProvidePictureBuffers(
- kNumPictureBuffers, gfx::Size(frame_width_, frame_height_));
+ kNumPictureBuffers,
+ gfx::Size(frame_width_, frame_height_),
+ media::VideoDecodeAccelerator::TEXTURE_TARGET_ARB);
}
}

Powered by Google App Engine
This is Rietveld 408576698