commit | 456fa912e46edf0b01ea3b7760ea922c01ca1866 | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Fri Feb 07 09:32:44 2014 -0800 |
committer | Chong Zhang <chz@google.com> | Fri Feb 07 12:58:29 2014 -0800 |
tree | 7997373321e52e748baa5d273b2adc39bc6f4ba0 | |
parent | 7ca6e73bed1d2e1a928104feb6e9ae92953bfff5 [diff] |
fix delay when shutting down wifi display RepeaterSource needs to stop SurfaceMediaSource before stopping its looper, otherwise the stop could get queued behind the last read(), which will not return until a new frame comes. Change SurfaceMediaSource stop to signal frame avalable first, so that its read() returns EOS to reader upon stop. Bug: 11677087 Change-Id: Ie331cc8c7f4824fd3930f3e909b53db4463902fb