media/gpu/vea_tests: Fix crash when using --dcheck_always_on=true
video_encode_accelerator_tests crashes if the test is built with --dcheck_always_on=true. It is because the sequence that destroys a decoder used in BitstreamValidator is different from one that initializes the decoder. This fixes the issue by destroying the decoder in the same sequence as of initialization. Bug: b:174318867 Test: video_encode_accelerator_tests on volteer Change-Id: I76a224705534945ee7f4c4ab8e1c1dd73fdcacea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2592853 Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by:David Staessens <dstaessens@chromium.org> Cr-Commit-Position: refs/heads/master@{#837889}
Showing
Please register or sign in to comment