media: VideoRenderImpl: display last available frame
With a few webgl aquarium demo windows open and a 1080p video playing at the same time, you can notice the video dropping a lot frames. From time to time being stuck on a same frame for a second or more. This is due to the VideoRendererImpl dropping frames. It takes too much time for the compositor to paint its content, keeping the GPU busy and delaying decoded video frames too long. Decoded frames arrive too late and are never presented and we stick to an old frame. This changes the behavior of VideoRendererImpl to a best effort strategy where we might start displaying images past their display time, but at least we're not stuck on a same image for too long. BUG=chrome-os-partner:37786 TEST=run the test as explained on the bug Review URL: https://codereview.chromium.org/1005303004 Cr-Commit-Position: refs/heads/master@{#322100}
Showing
Please register or sign in to comment