mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
2296c987cd
Originally crosvm calls VDA::reset() when either QueueClear the input or output queue. However, VDA::reset() only drops input buffers, not guarantee if drop output buffers. This CL removes the VDA::reset() call when QueueClear output queue. Instead, we only clear the records of all the queued output buffers. Note that it's still a workaround. The correct solution is to expose VDA::DismissPictureBuffer() to libvda, and then clear the record of the dismissed output buffer. BUG=b:168557465 TEST=pass android.media.cts.AdaptivePlaybackTest#testVP8_eosFlushSeek with related CLs Change-Id: Ic88b8b9bb14e4b29f7859bf06bd2231cecc85776 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2408597 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Chih-Yu Huang <akahuang@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |