Index: build/android/screenshot.py |
diff --git a/build/android/screenshot.py b/build/android/screenshot.py |
index b03979663633df155d0ef72578031133f81f3487..a0a52afe7b0f3c9611323a0b9297be44f8ebbfe7 100755 |
--- a/build/android/screenshot.py |
+++ b/build/android/screenshot.py |
@@ -27,7 +27,8 @@ def _CaptureScreenshot(device, host_file): |
def _CaptureVideo(device, host_file, options): |
- size = tuple(map(int, options.size.split('x'))) if options.size else None |
+ size = (tuple(int(i) for i in options.size.split('x')) if options.size |
+ else None) |
recorder = screenshot.VideoRecorder(device, |
megabits_per_second=options.bitrate, |
size=size, |