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

Unified Diff: media/gpu/android_video_decode_accelerator.h

Issue 2106133003: [M52] Make AVDA fall back to software decoding if needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 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
« no previous file with comments | « media/base/android/sdk_media_codec_bridge.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 599a31ec095afbb63d089a9637b7c36fde5fa8eb..73d0e31eb1236803d235c38a29b3121139d689b4 100644
--- a/media/gpu/android_video_decode_accelerator.h
+++ b/media/gpu/android_video_decode_accelerator.h
@@ -210,6 +210,14 @@ class MEDIA_GPU_EXPORT AndroidVideoDecodeAccelerator
// is only a hint.
gfx::Size initial_expected_coded_size_;
+ // Should we allow MediaCodec to autodetect the codec type (true), or
+ // select a software decoder manually (false). This is because fallback to
+ // software when autodetecting can sometimes hang mediaserver.
+ bool allow_autodetection_ = false;
+
+ // Should we notify AVDATimerManager when codec configuration completes?
+ bool notify_completion_ = false;
+
protected:
friend class base::RefCountedThreadSafe<CodecConfig>;
virtual ~CodecConfig();
« no previous file with comments | « media/base/android/sdk_media_codec_bridge.cc ('k') | media/gpu/android_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698