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

Unified Diff: content/renderer/pepper/video_decoder_shim.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/renderer/pepper/video_decoder_shim.cc
diff --git a/content/renderer/pepper/video_decoder_shim.cc b/content/renderer/pepper/video_decoder_shim.cc
index c52c285a10291e218bf3db516f915aa50fc8244e..9dc1cf691e0dd5b3119ad70d4a4b381f041cdfd7 100644
--- a/content/renderer/pepper/video_decoder_shim.cc
+++ b/content/renderer/pepper/video_decoder_shim.cc
@@ -527,7 +527,8 @@ void VideoDecoderShim::SendPictures() {
GL_UNSIGNED_BYTE,
&frame->argb_pixels.front());
- host_->PictureReady(media::Picture(texture_id, frame->decode_id));
+ host_->PictureReady(media::Picture(texture_id, frame->decode_id,
+ texture_size_));
Pawel Osciak 2014/08/10 00:02:21 We should be passing visible size here, not coded
kcwu 2014/08/12 04:48:06 I don't understand what you mean. texture_size_ he
Pawel Osciak 2014/08/12 04:59:24 OnOutputComplete gets a VF, which has both coded a
kcwu 2014/08/12 07:31:11 Ah, I was confused with VideoDecoderShim::DecoderI
pending_frames_.pop();
}

Powered by Google App Engine
This is Rietveld 408576698