summaryrefslogtreecommitdiffstats
path: root/build/android/screenshot.py
diff options
context:
space:
mode:
authorsatyanarayana@google.com <satyanarayana@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-10 00:26:56 +0000
committersatyanarayana@google.com <satyanarayana@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-10 00:26:56 +0000
commit8ef3379fcd05cade43ee152d88ed28722b530502 (patch)
tree98d30b2a8611cf1cb820df27775a27dc7abbe741 /build/android/screenshot.py
parentbb2966ae6cf55223e1ccab3adee210549c4d628f (diff)
downloadchromium_src-8ef3379fcd05cade43ee152d88ed28722b530502.zip
chromium_src-8ef3379fcd05cade43ee152d88ed28722b530502.tar.gz
chromium_src-8ef3379fcd05cade43ee152d88ed28722b530502.tar.bz2
Change ownership of video file
Review URL: https://codereview.chromium.org/379443002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282189 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/screenshot.py')
-rwxr-xr-xbuild/android/screenshot.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/android/screenshot.py b/build/android/screenshot.py
index 4932e77..a91bafd 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))