media/library
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
..
all Consolidate version codes in root gradle file 2017-04-18 19:42:27 +01:00
core Tweak video renderer surface swaps 2017-04-25 16:35:40 +01:00
dash Fix playback of DASH/VP9/SegmentList DASH content 2017-04-24 21:37:33 +01:00
hls Check the type of the (non-initial) loaded HLS playlist 2017-04-24 21:38:33 +01:00
smoothstreaming Consolidate version codes in root gradle file 2017-04-18 19:42:27 +01:00
ui Support efficient switching between SimpleExoPlayerView instances 2017-04-24 21:35:24 +01:00