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

Issue 2637853004: Video capture Android: make ImageReader member to allow surviving GC cycles (Closed)

Created:
3 years, 11 months ago by mcasas
Modified:
3 years, 11 months ago
Reviewers:
emircan
CC:
chromium-reviews, posciak+watch_chromium.org, chfremer+watch_chromium.org, feature-media-reviews_chromium.org, mcasas+watch+vc_chromium.org, agrieve+watch_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Video capture Android: make ImageReader member to allow surviving GC cycles As explained in the bug, capturing video with e.g. [1] and rotating some models screen (e.g. my Pixel), ends up borking VideoCaptureCamera2.java; this CL has a tentative fix based on the observation that on every rotation the art GC kicks in, by holding on to the ImageReader instance. This was also one of the points touched in the alleged culprit CL [2]. BUG=660738 [1] https://simpl.info/getusermedia [2] https://codereview.chromium.org/1957733003 Review-Url: https://codereview.chromium.org/2637853004 Cr-Commit-Position: refs/heads/master@{#444479} Committed: https://chromium.googlesource.com/chromium/src/+/0e3b718d3342338cb1ba21f4e3ba8c508ca807ae

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java View 4 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (7 generated)
mcasas
niklase@ ptal
3 years, 11 months ago (2017-01-18 01:50:02 UTC) #4
mcasas
emircan@ PTAL
3 years, 11 months ago (2017-01-18 17:57:02 UTC) #6
emircan
lgtm
3 years, 11 months ago (2017-01-18 18:42:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2637853004/1
3 years, 11 months ago (2017-01-18 18:46:29 UTC) #9
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 21:13:00 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/0e3b718d3342338cb1ba21f4e3ba...

Powered by Google App Engine
This is Rietveld 408576698