commit | 31095d1aa245f816c2d1c05be38076fe22838296 | [log] [tgz] |
---|---|---|
author | David Staessens <dstaessens@chromium.org> | Wed Jun 26 03:39:28 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 26 03:39:28 2019 |
tree | d6b3e97984601cb83f4da4fa6306541782eae8dc | |
parent | 70967204ad8940dc5f28b0573edd20b07b0ef360 [diff] |
media/gpu/test: Fix decoder not being destroyed in new video decoder tests. The new video_decode_accelerator_tests built on the video player test framework are designed to test VideoDecoder-based video decoders. To allow the tests to work against our VDA-based video decoders the TestVDAVideoDecoder wrapper is used. The VideoDecoder interface expects a decoder to destroy itself in the Destroy() function. This was not properly done in the wrapper causing resource exhaustion and crashes in some tests. TEST=ran new VD tests on grunt BUG=978714 Change-Id: I20f2aa1ed229fc3583892d7f990c722c01ad56ef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1677770 Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: David Staessens <dstaessens@chromium.org> Cr-Commit-Position: refs/heads/master@{#672400}
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 .