-
Hirokazu Honda authored
ForceKeyFrame requested after the frames are released specified times and checks if the first bitstream returned by VideoEncodeAccelerator is keyframe after requested. However, releasing frames and producing bitstreams are asynchronous. This check is wrong. This CL corrects the fix by seeing if the keyframe exists in a few produced bitstreams after requested rather than the first bitstream. Bug: b:176252185 Test: video_encode_accelerator_tests on grunt Change-Id: I442635a3c1ffefd4fcade9abdd81e74205e931be Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2614527Reviewed-by:
David Staessens <dstaessens@chromium.org> Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#842443}
fb9bf167