gecko-dev/mobile
John Lin bef936525f Bug 1349883 - part 2: reveal more input buffer status to callbacks. r=esawin,jya
Promise based MediaDataDecoder expects one response per request, but ICodecCallbacks was not designed that way. onInputExhausted() is called only when there are none or just a few input buffers waiting to be queued, and onOutput() is called as soon as output buffers are available. It means these 2 kinds of events are usually interleaved and hard to align with pending promises. Reporting each input buffer status makes it easier for RemoteDataDecoder to resolve promise properly.

MozReview-Commit-ID: K09txmHTtmX

--HG--
extra : rebase_source : 9ad331c54a24eab6ce5e0195f354afce52247572
2017-04-06 16:37:08 +08:00
..
android Bug 1349883 - part 2: reveal more input buffer status to callbacks. r=esawin,jya 2017-04-06 16:37:08 +08:00
locales Bug 1350473 - add BUG_COMPONENT to mobile/* files. r=snorp 2017-04-11 09:47:28 -04:00