Chromium Code Reviews
DescriptionVideo 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 #
Messages
Total messages: 12 (7 generated)
|
|||||||||||||||||||