commit | cd17c293074c034725d14b3c4ac505d46b11509b | [log] [tgz] |
---|---|---|
author | Stefan Bossbaly <stefanbossbaly@google.com> | Thu Jun 23 20:55:49 2022 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 23 20:55:49 2022 +0000 |
tree | 9f4f5305b5876123caad2c26da9c3707a6c5a17b | |
parent | ca77a6af36c84412ac533b86a2945e9c8991f482 [diff] |
[vaapi] Fix fuzzer error If buffer allocation fails during a mid stream buffer reallocation then the method CoreCodecMidStreamOutputBufferReConfigFinish() will never be called and instead CoreCodecStopStream() will be called. Ensure that we stop waiting if either is called. Also if output_re_config_required is false when onCoreCodecMidStreamOutputConstraintsChange() is called then the buffers are not reallocated, meaning that we should not wait since CoreCodecMidStreamOutputBufferReConfigFinish() will not be called and instead the new buffer constraints will be sent instead. Bug: 103142 Change-Id: I260b5a2a9d99eb292534085c73970c3775db85f1 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/693807 Reviewed-by: John Bauman <jbauman@google.com> Commit-Queue: Stefan Bossbaly <stefanbossbaly@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.