media/gpu/test: Fix video decoder tests failing on allocate-only platforms.
This CL fixes the new video decoder tests failing on platforms that don't support import mode. Even if no actual rendering is done in the tests, we still need to create a video frame object as this is the expected output format. TEST=./video_decode_accelerator_tests on nyan_big BUG=981714 Change-Id: I4c9dc33516a76f2b0b87589b0682ec15e150f319 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1688770 Commit-Queue: David Staessens <dstaessens@chromium.org> Reviewed-by:Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#676216}
Showing
Please register or sign in to comment