-
Hirokazu Honda authored
AcceleratedVideoEncoder implemented in VaapiVideoEncodeAccelerator returns one-time Picture on GetPicture(). In other words, different Picture instances returns every GetPicture(). This behavior likely leads to a bug. In fact, vp9 metadata is not filled because it attaches the metadata in the returned Picture and refers to it later but the pictures are different. This CL fixes the interface so that it will always returns the same instance. Bug: 1030199 Test: tast run webrtc.* on atlas Test: video_encode_accelerator_tests on atlas Change-Id: I5ec1cb17e032566ed082469331f89a380d86148f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2371085 Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by:
Miguel Casas <mcasas@chromium.org> Cr-Commit-Position: refs/heads/master@{#801697}
817179f0