commit | 6f7eb57d4691d677d6dc72b3a5050f2e87c530d5 | [log] [tgz] |
---|---|---|
author | Dallas Delaney <ddelaney@codeaurora.org> | Wed Sep 11 17:04:31 2019 -0700 |
committer | Dallas Delaney <ddelaney@codeaurora.org> | Wed Sep 11 17:07:54 2019 -0700 |
tree | 45601bba9709bc07230c531e49be86d5bbba2b01 | |
parent | 8ea81bebe8be3603c75e0f6f22fc718c7844e7ee [diff] |
sthal: Avoid second stage buffer duration adjustment if second stage is not enabled Third party VA engines may use DSP non-generic event type. Currently second stage buffer duration adjustment for non-generic events is done without considering whether second stage is even present or not, which results in a crash. Fix it by checking if second stage is enabled before adjusting the second stage buffer duration. Change-Id: I71bac1edef076971cbba63c39ad5826dc8228ebf