| commit | 93c4034f8c966fef48b49f4e5f342afa118ed6da | [log] [tgz] |
|---|---|---|
| author | David Staessens <dstaessens@chromium.org> | Thu Jul 11 02:18:46 2019 |
| committer | Commit Bot <commit-bot@chromium.org> | Thu Jul 11 02:18:46 2019 |
| tree | 1158a6c89979aa4bd15952bae95c3fb24f29e8b1 | |
| parent | 08244f718ea02bba27708c6eadcb3183b26f674a [diff] |
media/gpu/test: Fixed missing frames in video decoder tests in allocate mode. When running the new video decoder tests in allocate mode, sometimes the video player will not receive the last frame, making the tests fails. This happens because the WrapVideoFrame method is only supported in import mode, and a workaround is used in allocate mode. To fix this issue logic is added to manually wrap frames in a similar way when using allocate mode. This is also required to run the video decoder performance tests on allocate-only platforms. TEST=./video_decode_accelerator_tests on nyan_big BUG=957808 Change-Id: Ibf29e9f716beef8aaf1a27904e2220399418c209 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1688773 Commit-Queue: David Staessens <dstaessens@chromium.org> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#676259}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .