[Fuchsia] report correct max decode count in FuchsiaVideoDecoder
Previously FuchsiaVideoDecoder was always returning 1 from FuchsiaVideoDecoder::GetMaxDecodeRequests() for encrypted streams. As result the decoder had at most one decode request and so it wasn't decoding quickly enough. As result the renderer was sometimes running of output buffers. This change updates GetMaxDecodeRequests() to return value that includes the number of input buffers in the decryptor which allows to run decoder pipeline more efficiently. Bug: b/172062874 Change-Id: I394513debc02b43ea1bad801adc21a5b9efa5d0a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2536450Reviewed-by:Kevin Marshall <kmarshall@chromium.org> Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#827109}
Showing
Please register or sign in to comment