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

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: 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/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 48670d25c3f091d2e9c01e4f96d6268e88e9adb7..9a5923f5d896ad510d64713e33285326b81ac0aa 100644
--- a/content/common/gpu/media/omx_video_decode_accelerator.cc
+++ b/content/common/gpu/media/omx_video_decode_accelerator.cc
@@ -751,7 +751,8 @@ void OmxVideoDecodeAccelerator::OnOutputPortDisabled() {
if (client_) {
client_->ProvidePictureBuffers(
kNumPictureBuffers,
- gfx::Size(vformat.nFrameWidth, vformat.nFrameHeight));
+ gfx::Size(vformat.nFrameWidth, vformat.nFrameHeight),
+ media::VideoDecodeAccelerator::TEXTURE_TARGET_2D);
}
}

Powered by Google App Engine
This is Rietveld 408576698