DescriptionAndroid SurfaceViewRenderer: Allow to re-init after release() has been called
This CL makes a thorough reset of all variables in release() and clears the last rendered image so that the SurfaceViewRenderer object can be reinitialized with init() and work properly. This CL also removes an implicit assumption that init() is called before surfaceCreated() - now they can be called in any order.
BUG=webrtc:4742
R=hbos@webrtc.org
Committed: https://crrev.com/4382d800d225a3d6ce93011ff9a573e4ff613f35
Cr-Commit-Position: refs/heads/master@{#10217}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Move init check first #
Total comments: 2
Created: 5 years, 2 months ago
Messages
Total messages: 9 (2 generated)
|