commit | 49cea86805ad5d7cf5163a480f864b61d079889e | [log] [tgz] |
---|---|---|
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Jun 11 11:11:50 2014 |
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Jun 11 11:11:50 2014 |
tree | f22840fb3ee881c29a1f427979d5efb5bfd5c3f7 | |
parent | 8a357dfa329870aa768f4a332be09853ac6c7298 [diff] |
Add callback in VideoDecoder and AudioDecoder to return decoded frames. Previously decoded frames were returned using the DecodeCB callback, which is called in response to Decode(). This didn't work very well, particularly for GPU decoder, because decode buffers do not always map to decoded frames 1 to 1. BUG=338529 Review URL: https://codereview.chromium.org/297553002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276344 0039d316-1c4b-4281-b951-d872f2087c98