media/extensions
olly fb88087ac4 Tweak video renderer surface swaps
Fixes the following issues:

1. When a surface is set, it's expected that the renderer will
notify video size + when a frame is rendered to it. This is true
even if the surface isn't changing. Right now this is achieved
by setting renderedFirstFrame to false, but this is problematic
in the case that the surface isn't changing because (a) it will
force rendering of a subsequent frame to the output even when
paused, which is incorrect, and (b) isReady will return false
until this occurs.

2. When the surface really is changing, isReady can return false
until the first frame has been rendered into the new surface, which
will break seamless surface switching. This change allows isReady
to return true up to allowedJoiningTimeMs for this case.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=154171111
2017-04-25 16:35:40 +01:00
..
cronet NullPointerException in CronetDataSource constructor 2017-04-18 19:45:50 +01:00
ffmpeg Misc cleanup for merged pull requests 2017-04-21 18:09:01 +01:00
flac Add Sonic library for audio speed adjustment. 2017-03-23 19:14:48 +00:00
gvr Fully reset AudioProcessors on releasing AudioTrack 2017-04-18 19:40:05 +01:00
okhttp Generate combined Javadoc 2017-03-22 19:11:28 +00:00
opus Remove unused variable and parameter. 2017-04-06 18:52:03 +01:00
vp9 Tweak video renderer surface swaps 2017-04-25 16:35:40 +01:00