commit | 2070254f241f52cadb69bc2323f56df72704f1ca | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Thu Apr 11 11:07:55 2013 -0700 |
committer | Andreas Huber <andih@google.com> | Thu Apr 11 11:31:55 2013 -0700 |
tree | dd5aead0ce971332761599cc73189b8e1fea96a9 | |
parent | ecba7488c5cceaacef95836b1b476433451e7761 [diff] |
Instead of returning an error, return an invalid duration (-1 ms) if no duration information was available. This prevents us from entering ERROR state, effectively rendering the player instance useless. Change-Id: I602d2661ae8b8633360306c0ea9208fb11e2bf17 related-to-bug: 8596285