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)) |