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

Unified Diff: media/filters/gpu_video_decoder.h

Issue 2621153004: media: Fix a GpuVideoDecoder initialization crash on Android (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/gpu_video_decoder.h
diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h
index 1f999cbe0ffe8de3f7ea341ea187b6702768df61..4095375667aabc3744426b53d258c7a91c6c26ee 100644
--- a/media/filters/gpu_video_decoder.h
+++ b/media/filters/gpu_video_decoder.h
@@ -178,6 +178,9 @@ class MEDIA_EXPORT GpuVideoDecoder
// occurs.
std::unique_ptr<VideoDecodeAccelerator> vda_;
+ // Whether |vda_->Initialize()| has been called.
sandersd (OOO until July 31) 2017/01/11 21:39:58 This is accurate, but hard to interpret with regar
+ bool vda_initialized_;
+
InitCB init_cb_;
OutputCB output_cb_;
« no previous file with comments | « no previous file | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698