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

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

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/dxva_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/dxva_video_decode_accelerator.cc b/content/common/gpu/media/dxva_video_decode_accelerator.cc
index 10b7633d14fccbdff9ebce31e04f65c4c501af5d..57bfb581901080f0cdb6dccb6677ba395f9b14f3 100644
--- a/content/common/gpu/media/dxva_video_decode_accelerator.cc
+++ b/content/common/gpu/media/dxva_video_decode_accelerator.cc
@@ -1017,8 +1017,10 @@ void DXVAVideoDecodeAccelerator::RequestPictureBuffers(int width, int height) {
// TODO(ananta)
// We need to support mid stream resize.
if (state_ != kUninitialized && client_) {
- client_->ProvidePictureBuffers(kNumPictureBuffers,
- gfx::Size(width, height));
+ client_->ProvidePictureBuffers(
+ kNumPictureBuffers,
+ gfx::Size(width, height),
+ media::VideoDecodeAccelerator::TEXTURE_TARGET_2D);
}
}

Powered by Google App Engine
This is Rietveld 408576698