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

Unified Diff: tools/telemetry/telemetry/core/platform/profiler/android_screen_recorder_profiler.py

Issue 119323008: telemetry: Fix screen recording with multiple connected devices (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 12 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: tools/telemetry/telemetry/core/platform/profiler/android_screen_recorder_profiler.py
diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_screen_recorder_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/android_screen_recorder_profiler.py
index ec9d5d67c094ca25ffe690199ded52695f6ba0f2..d16c35a51b0699139385e4105c6e1e5a2253fa36 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/android_screen_recorder_profiler.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/android_screen_recorder_profiler.py
@@ -18,8 +18,11 @@ class AndroidScreenRecordingProfiler(profiler.Profiler):
self._output_path = output_path + '.mp4'
self._recorder = subprocess.Popen(
[os.path.join(util.GetChromiumSrcDir(), 'build', 'android',
- 'screenshot.py'), '--video', '--file',
- self._output_path], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
+ 'screenshot.py'),
+ '--video',
+ '--file', self._output_path,
+ '--device', browser_backend.adb.device()],
+ stdin=subprocess.PIPE, stdout=subprocess.PIPE)
@classmethod
def name(cls):
« 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