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

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

Issue 426873004: Pass decoded picture size from VDA to client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use gfx::Size Created 6 years, 4 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/vaapi_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/vaapi_video_decode_accelerator.cc b/content/common/gpu/media/vaapi_video_decode_accelerator.cc
index afcfc8a3b0632f2d316fe393c44595f04a1ef714..752d504a0d115861be02b84c6bed70440cf4c30a 100644
--- a/content/common/gpu/media/vaapi_video_decode_accelerator.cc
+++ b/content/common/gpu/media/vaapi_video_decode_accelerator.cc
@@ -372,7 +372,9 @@ void VaapiVideoDecodeAccelerator::OutputPicture(
DVLOG(4) << "Notifying output picture id " << output_id
<< " for input "<< input_id << " is ready";
if (client_)
- client_->PictureReady(media::Picture(output_id, input_id));
+ client_->PictureReady(media::Picture(output_id,
+ input_id,
+ tfp_picture->size()));
Pawel Osciak 2014/08/10 00:02:21 Please file a bug for this and add: TODO(posciak):
kcwu 2014/08/12 04:48:05 Done.
}
void VaapiVideoDecodeAccelerator::TryOutputSurface() {

Powered by Google App Engine
This is Rietveld 408576698