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

Unified Diff: media/filters/video_renderer_base.h

Issue 12324005: Fix crash in VideoRendererBase::ThreadMain(). (Closed) Base URL: http://git.chromium.org/chromium/src.git@git-svn
Patch Set: Created 7 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
« no previous file with comments | « no previous file | media/filters/video_renderer_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/video_renderer_base.h
diff --git a/media/filters/video_renderer_base.h b/media/filters/video_renderer_base.h
index 1234ab89c4f6c3d152ad70d2519c7f91334a9a00..f1aa48f8c4900c9f8b55303936c826bec7469cb3 100644
--- a/media/filters/video_renderer_base.h
+++ b/media/filters/video_renderer_base.h
@@ -181,6 +181,8 @@ class MEDIA_EXPORT VideoRendererBase
// [kUninitialized] -------> [kError]
// |
// | Initialize()
+ // [kInitializing]
+ // |
// V All frames returned
// +------[kFlushed]<-----[kFlushing]<--- OnDecoderResetDone()
// | | Preroll() or upon ^
@@ -203,6 +205,7 @@ class MEDIA_EXPORT VideoRendererBase
// Simple state tracking variable.
enum State {
kUninitialized,
+ kInitializing,
kPrerolled,
kPaused,
kFlushingDecoder,
« no previous file with comments | « no previous file | media/filters/video_renderer_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698