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

Unified Diff: media/mojo/scripts/run_mojo_media_renderer.py

Issue 1008693006: media: run_mojo_media_renderer.py default to headless mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/scripts/run_mojo_media_renderer.py
diff --git a/media/mojo/scripts/run_mojo_media_renderer.py b/media/mojo/scripts/run_mojo_media_renderer.py
index 738fa9dcb94d71bbc45803ce2b88bce26a318131..513d87abd6c00a23448c6d2396971e2bd61b3343 100755
--- a/media/mojo/scripts/run_mojo_media_renderer.py
+++ b/media/mojo/scripts/run_mojo_media_renderer.py
@@ -4,10 +4,10 @@
# found in the LICENSE file.
#
# The script follows mojo/services/html_viewer/view_url.py and modified it for
-# test the mojo media renderer. The page will be rendered in a windowless mode.
+# test the mojo media renderer. The page will be rendered in a headless mode.
#
# TODO(xhwang): Explore the possibility of running this with the Kiosk window
-# manager.
+# manager. See http://crbug.com/467176
import argparse
import os
@@ -35,7 +35,7 @@ def _BuildShellCommand(args):
sdk_version)
options.append("--url-mappings=mojo:html_viewer=file://%s/html_viewer.mojo,"
"mojo:media=file://%s/media.mojo" % (build_dir, build_dir))
- args_for_html_viewer = "--enable-mojo-media-renderer "
+ args_for_html_viewer = "--enable-mojo-media-renderer --is-headless "
if args.verbose:
args_for_html_viewer += \
"--vmodule=pipeline*=3,*renderer_impl*=3,*mojo_demuxer*=3"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698