SurfaceViewRendererOnMeasureTest#testFrame1280x720 is currently flaky because of a race. This issue was introduced here: https://codereview.webrtc.org/2111933002/. That CL moved the function updateFrameDimensionsAndReportEvents() from renderFrame() to renderFrameOnRenderThread(). The OnMeasureTest currently just calls renderFrame() with a new frame size and immediately starts testing the measured size, which might be before renderFrameOnRenderThread() is executed. This CL waits for the RendererEvents.onFrameResolutionChanged() callback before starting the test to fix this race. BUG=webrtc:6089 Review-Url: https://codereview.webrtc.org/2147463002 Cr-Commit-Position: refs/heads/master@{#13448}
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.