From 963ab9193e807a07463767c3bdb76c1393dd761e Mon Sep 17 00:00:00 2001 From: "hclam@chromium.org" Date: Fri, 22 Jan 2010 19:56:14 +0000 Subject: Switches to enable OpenMAX for video decoding in Chrome Added a --enable-openmax switch to enable OpenMAX for video decoding. Review URL: http://codereview.chromium.org/555046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36883 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/renderer_host/browser_render_process_host.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/browser') diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc index fad8eb5..3ca726c 100644 --- a/chrome/browser/renderer_host/browser_render_process_host.cc +++ b/chrome/browser/renderer_host/browser_render_process_host.cc @@ -58,6 +58,7 @@ #include "ipc/ipc_message.h" #include "ipc/ipc_platform_file.h" #include "ipc/ipc_switches.h" +#include "media/base/media_switches.h" #if defined(OS_WIN) #include "app/win_util.h" @@ -530,6 +531,7 @@ void BrowserRenderProcessHost::PropogateBrowserCommandLineToRenderer( switches::kEnableApplicationCache, switches::kEnableGeolocation, switches::kShowPaintRects, + switches::kEnableOpenMax, // We propagate the Chrome Frame command line here as well in case the // renderer is not run in the sandbox. switches::kChromeFrame, -- cgit v1.1