summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-22 19:56:14 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-22 19:56:14 +0000
commit963ab9193e807a07463767c3bdb76c1393dd761e (patch)
treea45a94c4659539ca61063c3dbc3bd09793ca17c4 /chrome/browser
parentb0b567bf6e3b7d1270bbd4b21bd39cdcb8d4c9da (diff)
downloadchromium_src-963ab9193e807a07463767c3bdb76c1393dd761e.zip
chromium_src-963ab9193e807a07463767c3bdb76c1393dd761e.tar.gz
chromium_src-963ab9193e807a07463767c3bdb76c1393dd761e.tar.bz2
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
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/renderer_host/browser_render_process_host.cc2
1 files changed, 2 insertions, 0 deletions
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,