commit | 9e2b7918eb5621b24bd54c922f630da45339de77 | [log] [tgz] |
---|---|---|
author | Marco Nelissen <marcone@google.com> | Mon Aug 18 16:13:03 2014 -0700 |
committer | Lajos Molnar <lajos@google.com> | Wed Aug 20 01:48:35 2014 +0000 |
tree | 3d265889962c8ccb2ac05b3c4bef57b241736314 | |
parent | 426c719a5f3b4d88480eb35a7b0b373f672ea3cb [diff] |
handle error during flush in MediaPlayer.reset() If there was an error during the flush phase of a reset, then the reset would never complete. We now make sure the MediaCodec moves to the right state in this case, and that NuPlayer cleans up and resumes the rest of the reset after a failed flush. Bug: 16955082 Change-Id: Ied61136871a9fcdffcc80647fa2bba64a926ac2a