
Currently, when the VideoRendererOutputCapturer updates output size, it will set the new surface, then release the old surface. This can lead to problem when both surface depends on EGL, since the second release() can release EGL resources of the first surface. This CL reverses this process, and ensures that the old surface is released before the new one is created. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=205235451
ExoPlayer library
The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.