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

Unified Diff: content/common/gpu/media/android_video_decode_accelerator.h

Issue 1869103002: Enable adaptive playback for spitzer, use conservative size. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cl feedback. Created 4 years, 8 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/android_video_decode_accelerator.h
diff --git a/content/common/gpu/media/android_video_decode_accelerator.h b/content/common/gpu/media/android_video_decode_accelerator.h
index 272a6a01a27c20382d68ff01ece2ac7a5a136580..1e0543d3fc5f228e356ac47c0d131a0992ddc99a 100644
--- a/content/common/gpu/media/android_video_decode_accelerator.h
+++ b/content/common/gpu/media/android_video_decode_accelerator.h
@@ -184,6 +184,10 @@ class CONTENT_EXPORT AndroidVideoDecodeAccelerator
// an encrypted stream.
media::MediaDrmBridgeCdmContext::JavaObjectPtr media_crypto_;
+ // Initial coded size. The actual size might change at any time, so this
+ // is only a hint.
+ gfx::Size initial_expected_coded_size_;
+
protected:
friend class base::RefCountedThreadSafe<CodecConfig>;
virtual ~CodecConfig();

Powered by Google App Engine
This is Rietveld 408576698