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

Unified Diff: media/tools/player_wtl/movie.cc

Issue 10854151: Allow transitioning to HAVE_METADATA before pipeline initialization completes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address CR comments and fix tests. Created 8 years, 4 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: media/tools/player_wtl/movie.cc
diff --git a/media/tools/player_wtl/movie.cc b/media/tools/player_wtl/movie.cc
index c29f8a07846cc6c37f8ebc94fa6839cce20bb3e2..23d4d067c0dec3f8b8ae3e4216775726202f0160 100644
--- a/media/tools/player_wtl/movie.cc
+++ b/media/tools/player_wtl/movie.cc
@@ -95,7 +95,8 @@ bool Movie::Open(const wchar_t* url, VideoRendererBase* video_renderer) {
collection.Pass(),
media::PipelineStatusCB(),
media::PipelineStatusCB(),
- note.Callback());
+ note.Callback(),
+ media::Pipeline::ReadyStateCB());
// Wait until the pipeline is fully initialized.
note.Wait();

Powered by Google App Engine
This is Rietveld 408576698