Index: content/renderer/render_process_impl.cc |
=================================================================== |
--- content/renderer/render_process_impl.cc (revision 87792) |
+++ content/renderer/render_process_impl.cc (working copy) |
@@ -81,6 +81,15 @@ |
content::GetContentClient()->renderer()->GetMediaLibraryPath(); |
if (!media_path.empty()) |
media::InitializeMediaLibrary(media_path); |
+ |
+#if !defined(OS_MACOSX) |
+ // TODO(hclam): Add more checks here. Currently this is not used. |
+ if (media::IsMediaLibraryInitialized() && |
+ CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnableOpenMax)) { |
+ media::InitializeOpenMaxLibrary(media_path); |
+ } |
+#endif |
} |
RenderProcessImpl::~RenderProcessImpl() { |