DescriptionAndroid SurfaceViewRenderer: Make sure not to call eglCreateSurface() twice
eglCreateSurface() calls are posted to the render thread from both init() and surfaceCreated(). If the render thread does not process the eglCreateSurface() message from init() before surfaceCreated() is called, eglCreateSurface() will be called twice resulting in a crash.
This CL makes sure eglCreateSurface() is only called once.
BUG=b/25815604
R=hbos@webrtc.org
Committed: https://crrev.com/4f2152e3286b03292836fd95813cc95933c79c4d
Cr-Commit-Position: refs/heads/master@{#10769}
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|