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

Unified Diff: media/tools/player_x11/player_x11.cc

Issue 7584013: Log PipelineImpl events to MediaLog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase atop _and_diff_against_ 759001. Created 9 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_x11/player_x11.cc
diff --git a/media/tools/player_x11/player_x11.cc b/media/tools/player_x11/player_x11.cc
index 4b34a605e6c954d4d4c7bd3a9466003d349f3a35..d23f6347f8d8d439a609751e0cfb61915ed9a5c3 100644
--- a/media/tools/player_x11/player_x11.cc
+++ b/media/tools/player_x11/player_x11.cc
@@ -16,6 +16,7 @@
#include "media/base/callback.h"
#include "media/base/filter_collection.h"
#include "media/base/media.h"
+#include "media/base/media_log.h"
#include "media/base/media_switches.h"
#include "media/base/message_loop_factory_impl.h"
#include "media/base/pipeline_impl.h"
@@ -108,7 +109,7 @@ bool InitPipeline(MessageLoop* message_loop,
collection->AddAudioRenderer(new media::NullAudioRenderer());
// Create the pipeline and start it.
- *pipeline = new media::PipelineImpl(message_loop);
+ *pipeline = new media::PipelineImpl(message_loop, new media::MediaLog());
media::PipelineStatusNotification note;
(*pipeline)->Start(collection.release(), filename, note.Callback());

Powered by Google App Engine
This is Rietveld 408576698