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

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

Issue 6537022: Move media library path resolution into Chrome path provider. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: And again, this time with working tests... Created 9 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
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 2e75994b37cf8125e890ca2141dbca17068979e8..ef39979b93855b6a523d772e58fcb1a3edc426a0 100644
--- a/media/tools/player_x11/player_x11.cc
+++ b/media/tools/player_x11/player_x11.cc
@@ -95,7 +95,8 @@ bool InitPipeline(MessageLoop* message_loop,
}
// Load media libraries.
- if (!media::InitializeMediaLibrary(FilePath())) {
+ media::InitializeMediaLibrary(FilePath());
+ if (!media::IsMediaLibraryInitialized()) {
std::cout << "Unable to initialize the media library." << std::endl;
return false;
}

Powered by Google App Engine
This is Rietveld 408576698