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

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

Issue 967693002: Clang fixes for chromeos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/vp8_decoder.cc
diff --git a/content/common/gpu/media/vp8_decoder.cc b/content/common/gpu/media/vp8_decoder.cc
index a2fe85c19b5237484698812793344b28d9e5aa6e..a340a6821ea1e621ab136c1a8535c1642e468fc2 100644
--- a/content/common/gpu/media/vp8_decoder.cc
+++ b/content/common/gpu/media/vp8_decoder.cc
@@ -183,6 +183,10 @@ bool VP8Decoder::DecodeAndOutputCurrentFrame() {
return true;
}
+gfx::Size VP8Decoder::GetPicSize() const {
+ return pic_size_;
+}
+
size_t VP8Decoder::GetRequiredNumOfPictures() const {
const size_t kVP8NumFramesActive = 4;
const size_t kPicsInPipeline = media::limits::kMaxVideoFrames + 2;

Powered by Google App Engine
This is Rietveld 408576698