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

Unified Diff: media/tools/omx_test/omx_test.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/omx_test/omx_test.cc
diff --git a/media/tools/omx_test/omx_test.cc b/media/tools/omx_test/omx_test.cc
index 24cf4ccfe3fe244ab7df348ba5cb0ec72315e908..e5190ad293305763315ab6d9e0be59efd0b708ec 100644
--- a/media/tools/omx_test/omx_test.cc
+++ b/media/tools/omx_test/omx_test.cc
@@ -301,7 +301,8 @@ static bool PrepareEncodeFormats(AVStream *av_stream) {
}
static bool InitFFmpeg() {
- if (!media::InitializeMediaLibrary(FilePath()))
+ media::InitializeMediaLibrary(FilePath());
+ if (!media::IsMediaLibraryInitialized())
return false;
avcodec_init();
av_register_all();

Powered by Google App Engine
This is Rietveld 408576698