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

Unified Diff: build/android/screenshot.py

Issue 379443002: Change ownership of video file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head Created 6 years, 5 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
Index: build/android/screenshot.py
diff --git a/build/android/screenshot.py b/build/android/screenshot.py
index 4932e77213dd62ca32e520f3414e68be283cb4f9..a91bafd1d3264df72d8cc739ad7e7bcd79774329 100755
--- a/build/android/screenshot.py
+++ b/build/android/screenshot.py
@@ -28,7 +28,6 @@ def _CaptureScreenshot(device, host_file):
def _CaptureVideo(device, host_file, options):
size = tuple(map(int, options.size.split('x'))) if options.size else None
recorder = screenshot.VideoRecorder(device,
- host_file,
megabits_per_second=options.bitrate,
size=size,
rotate=options.rotate)
@@ -38,7 +37,7 @@ def _CaptureVideo(device, host_file, options):
raw_input()
finally:
recorder.Stop()
- host_file = recorder.Pull()
+ recorder.Pull(host_file)
_PrintMessage('Video written to %s' % os.path.abspath(host_file))
« no previous file with comments | « build/android/pylib/screenshot.py ('k') | tools/telemetry/telemetry/core/platform/android_platform_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698