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

Unified Diff: media/gpu/vp8_decoder.cc

Issue 2926593002: V4L2SVDA/VAAPIVDA: use visible size from decoder and pass to client (Closed)
Patch Set: V4L2SVDA/VAAPIVDA: use visible size from decoder and pass to client Created 3 years, 6 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: media/gpu/vp8_decoder.cc
diff --git a/media/gpu/vp8_decoder.cc b/media/gpu/vp8_decoder.cc
index 9d582ed0a627a3c862fe60e8aec93c38d27f9126..0071981603a64d45cab72e5566f4d104e72f80ff 100644
--- a/media/gpu/vp8_decoder.cc
+++ b/media/gpu/vp8_decoder.cc
@@ -169,7 +169,7 @@ bool VP8Decoder::DecodeAndOutputCurrentFrame() {
return false;
if (curr_frame_hdr_->show_frame)
- if (!accelerator_->OutputPicture(curr_pic_))
+ if (!accelerator_->OutputPicture(curr_pic_, gfx::Rect(pic_size_)))
return false;
RefreshReferenceFrames();

Powered by Google App Engine
This is Rietveld 408576698