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

Issue 1842313005: Don't load all bytes of video when generating thumbnails. (Closed)

Created:
4 years, 8 months ago by hirono
Modified:
4 years, 8 months ago
Reviewers:
fukino
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't load all bytes of video when generating thumbnails. Previously ImageLoader loaded all bytes of video by using XHR before generating thumbnails. The CL fixes it so that ImageLoader assign entry URL to video tag directly, which avoids from loading all bytes to memory. BUG=597243 TEST=manually Committed: https://crrev.com/5d9ebe5481791288b7dd28bc51aa608de3e101a9 Cr-Commit-Position: refs/heads/master@{#384515}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -17 lines) Patch
M ui/file_manager/image_loader/request.js View 1 4 chunks +17 lines, -17 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
hirono
PTAL, thanks!
4 years, 8 months ago (2016-04-01 02:26:29 UTC) #2
fukino
Great improvement! Thank you! https://codereview.chromium.org/1842313005/diff/1/ui/file_manager/image_loader/request.js File ui/file_manager/image_loader/request.js (right): https://codereview.chromium.org/1842313005/diff/1/ui/file_manager/image_loader/request.js#newcode315 ui/file_manager/image_loader/request.js:315: fulfill(canvas.toDataURL()); I think we can ...
4 years, 8 months ago (2016-04-01 05:57:43 UTC) #3
hirono
Thank you! https://codereview.chromium.org/1842313005/diff/1/ui/file_manager/image_loader/request.js File ui/file_manager/image_loader/request.js (right): https://codereview.chromium.org/1842313005/diff/1/ui/file_manager/image_loader/request.js#newcode315 ui/file_manager/image_loader/request.js:315: fulfill(canvas.toDataURL()); On 2016/04/01 05:57:43, fukino wrote: > ...
4 years, 8 months ago (2016-04-01 06:49:11 UTC) #4
fukino
lgtm. Thank you!
4 years, 8 months ago (2016-04-01 07:00:49 UTC) #5
hirono
Thank you!
4 years, 8 months ago (2016-04-01 07:06:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1842313005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1842313005/20001
4 years, 8 months ago (2016-04-01 07:06:35 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-01 08:02:39 UTC) #9
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 08:04:19 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5d9ebe5481791288b7dd28bc51aa608de3e101a9
Cr-Commit-Position: refs/heads/master@{#384515}

Powered by Google App Engine
This is Rietveld 408576698