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

Unified Diff: media/gpu/android_video_decode_accelerator.h

Issue 2333983002: Reduce number of active codecs on low end devices. (Closed)
Patch Set: Fix windows. Created 4 years, 3 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
« no previous file with comments | « media/blink/webmediaplayer_impl_unittest.cc ('k') | media/gpu/android_video_decode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/android_video_decode_accelerator.h
diff --git a/media/gpu/android_video_decode_accelerator.h b/media/gpu/android_video_decode_accelerator.h
index 8470efaa40a18870e08009a19cc27b3e10bd1ad4..ff44bc1147f55ab15460c1c6541893fba887507d 100644
--- a/media/gpu/android_video_decode_accelerator.h
+++ b/media/gpu/android_video_decode_accelerator.h
@@ -374,6 +374,10 @@ class MEDIA_GPU_EXPORT AndroidVideoDecodeAccelerator
// when the EOS buffer is received.
bool codec_needs_reset_;
+ // True if surface creation and |picture_buffer_manager_| initialization has
+ // been defered until the first Decode() call.
+ bool defer_surface_creation_;
+
// Copy of the VDA::Config we were given.
Config config_;
« no previous file with comments | « media/blink/webmediaplayer_impl_unittest.cc ('k') | media/gpu/android_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698